Skip to content

Commit

Permalink
音乐室右键不返回
Browse files Browse the repository at this point in the history
  • Loading branch information
MrZ626 committed Jul 15, 2024
1 parent 34f5391 commit 1e4629f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/scene/musicroom.lua
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ function scene.keyDown(key,isRep)
return true
end
function scene.mouseMove() scene.focus(true) end
function scene.mouseDown(_,_,k) scene.focus(true) if k==2 then SCN.back('fadeHeader') end end
function scene.mouseDown(_,_,k) scene.focus(true) end
function scene.wheelMove() scene.focus(true) end
function scene.touchDown() scene.focus(true) end
function scene.focus(f) -- Reduce carbon footprint for music lovers
Expand Down

0 comments on commit 1e4629f

Please sign in to comment.