From 7c4b69753a364c4f5e80324cc1009e260065d299 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Sat, 30 Jan 2021 23:03:45 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4debug=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E6=8C=89=E9=94=AE=E9=A1=BA=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zframework/init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Zframework/init.lua b/Zframework/init.lua index 78bbb184..da72e5bb 100644 --- a/Zframework/init.lua +++ b/Zframework/init.lua @@ -182,9 +182,9 @@ function love.keypressed(i) end end elseif i=="f4"then if not kb.isDown("lalt","ralt")then LOG.copy()end - elseif i=="f5"then if love._openConsole then love._openConsole()end - elseif i=="f6"then if WIDGET.sel then DBP(WIDGET.sel)end - elseif i=="f7"then for k,v in next,_G do DBP(k,v)end + elseif i=="f5"then if WIDGET.sel then DBP(WIDGET.sel)end + elseif i=="f6"then for k,v in next,_G do DBP(k,v)end + elseif i=="f7"then if love._openConsole then love._openConsole()end elseif i=="f8"then devMode=nil LOG.print("DEBUG OFF",COLOR.yellow) elseif i=="f9"then devMode=1 LOG.print("DEBUG 1",COLOR.yellow) elseif i=="f10"then devMode=2 LOG.print("DEBUG 2",COLOR.yellow)