From 5f96e8450ed0032afbcb62291ddfeb79d790995d Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Tue, 16 Feb 2021 21:26:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83=E5=BF=AB=E9=80=9F=E5=90=AF?= =?UTF-8?q?=E5=8A=A8=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zframework/init.lua | 1 + parts/scenes/load.lua | 6 ++---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Zframework/init.lua b/Zframework/init.lua index 937d6006..8373a482 100644 --- a/Zframework/init.lua +++ b/Zframework/init.lua @@ -211,6 +211,7 @@ function love.keypressed(i) elseif i=="f10"then devMode=2 LOG.print("DEBUG 2",COLOR.yellow) elseif i=="f11"then devMode=3 LOG.print("DEBUG 3",COLOR.yellow) elseif i=="f12"then devMode=4 LOG.print("DEBUG 4",COLOR.yellow) + elseif i=="\\"then MARKING=nil elseif devMode==2 then if WIDGET.sel then local W=WIDGET.sel diff --git a/parts/scenes/load.lua b/parts/scenes/load.lua index 86b5b952..dd85856c 100644 --- a/parts/scenes/load.lua +++ b/parts/scenes/load.lua @@ -103,10 +103,8 @@ function scene.sceneBack() end function scene.keyDown(k) - if k=="a"then + if k=="s"then skip=true - elseif k=="s"then - skip,MARKING=true elseif k=="space"then time=max(time-5,0) elseif k=="escape"then @@ -114,7 +112,7 @@ function scene.keyDown(k) end end function scene.touchDown() - if #tc.getTouches()==2 then + if #tc.getTouches()==3 then skip=true end end