From ac546e4f8dac0694b1d12f9371a70c9be26aa57f Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Sun, 9 May 2021 21:22:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E5=9C=BA=E6=99=AF=E5=8F=AF?= =?UTF-8?q?=E4=BB=A5=E5=93=8D=E5=BA=94=E6=8B=96=E5=85=A5=E6=96=87=E4=BB=B6?= =?UTF-8?q?/=E6=96=87=E4=BB=B6=E5=A4=B9=E4=BA=8B=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/scenes/test.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/parts/scenes/test.lua b/parts/scenes/test.lua index 77d50694..edeb680a 100644 --- a/parts/scenes/test.lua +++ b/parts/scenes/test.lua @@ -60,6 +60,12 @@ end function scene.wheelMoved(dx,dy) push(("[wheelMoved] <%d, %d>"):format(dx,dy)) end +function scene.fileDropped(file) + push(("[fileDropped] <%s>"):format(file:getFilename())) +end +function scene.directoryDropped(path) + push(("[directoryDropped] <%s>"):format(path)) +end function scene.update(dt) if timer>0 then