From 724a576aa3f0fa6baf330e428cee3cc57141d005 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Thu, 23 Dec 2021 21:03:11 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=9F=E8=BF=9B=E6=A1=86=E6=9E=B6=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.lua b/main.lua index c66b9c93..e84c69ff 100644 --- a/main.lua +++ b/main.lua @@ -184,6 +184,9 @@ Z.setOnFnKeys({ function()for k,v in next,_G do print(k,v)end end, function()if love['_openConsole']then love['_openConsole']()end end, }) +Z.setOnResize(function(w,_) + SHADER.warning:send('w',w*SCR.dpi) +end) do--Z.setOnFocus local function task_autoSoundOff() while true do