From 30748200dd272b16587460beacfe35cfdd0bc151 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Sat, 11 Dec 2021 19:38:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=87=AA=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E5=9C=BA=E5=9C=B0=E7=95=8C=E9=9D=A2=E6=8C=89=E8=B6=85=E8=BF=87?= =?UTF-8?q?=E7=AC=AC=E4=B8=89=E4=B8=AA=E7=9A=84=E9=BC=A0=E6=A0=87=E9=94=AE?= =?UTF-8?q?=E4=BC=9A=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/scenes/custom_field.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/parts/scenes/custom_field.lua b/parts/scenes/custom_field.lua index ba54e7ee..35d47e86 100644 --- a/parts/scenes/custom_field.lua +++ b/parts/scenes/custom_field.lua @@ -140,6 +140,7 @@ function scene.mouseMove(x,y) end end function scene.mouseDown(x,y,k) + if k>3 then return end if not curPen then curPen=k elseif curPen~=k then @@ -149,6 +150,7 @@ function scene.mouseDown(x,y,k) scene.mouseMove(x,y) end function scene.mouseUp(_,_,k) + if k>3 then return end if curPen==k then _pDraw() curPen=false