From 462720881af52145f3c2a38b95cb3e1977e895b1 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Thu, 16 Dec 2021 02:07:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81=E9=BC=A0=E6=A0=87=E6=BB=9A?= =?UTF-8?q?=E5=8A=A8=E6=A8=A1=E5=BC=8F=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/scenes/mode.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/parts/scenes/mode.lua b/parts/scenes/mode.lua index b6c387bc..3b005da6 100644 --- a/parts/scenes/mode.lua +++ b/parts/scenes/mode.lua @@ -111,6 +111,13 @@ function scene.sceneInit() searchTimer=0 end +function scene.mouseMove(x,y,_,dy) + x,y=x-40,y-150 + if x<-40 or x>765 or y<-40 or y>570 then return end + if love.mouse.isDown(1)then + _scrollModes(1.26*dy) + end +end function scene.mouseClick(x,y,k) if k==1 then local sel=false