From 5ceb59daae68b4de584f83667d57c7fc99a28d0f Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Tue, 6 Jul 2021 21:05:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A8=A1=E5=BC=8F=E5=9C=B0=E5=9B=BE=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E6=8C=89=E4=BD=8Fctrl=E6=88=96alt=E5=90=8E=E6=96=B9?= =?UTF-8?q?=E5=90=91=E9=94=AE=E5=8A=9F=E8=83=BD=E5=8F=98=E4=B8=BA=E7=BC=A9?= =?UTF-8?q?=E6=94=BE=20close=20#101?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/scenes/mode.lua | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/parts/scenes/mode.lua b/parts/scenes/mode.lua index 719d7d67..e52a7b76 100644 --- a/parts/scenes/mode.lua +++ b/parts/scenes/mode.lua @@ -159,22 +159,26 @@ function scene.update() end if F then mapCam.keyCtrl=true - moveMap(dx,dy) - local x,y=getPos() - for name,M in next,MODES do - if RANKS[name]and M.x then - local SEL - local s=M.size - if M.shape==1 then - if x>M.x-s and xM.y-s and yM.x-s and xM.y-s and y