Skip to content

Commit

Permalink
Minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
SweetSea-ButImNotSweet committed Oct 28, 2023
1 parent 63a4731 commit 438717e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion parts/scenes/app_piano.lua
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ end
function scene.keyUp()
if (
not kbIsDown('lctrl','rctrl','lshift','rshift') -- If we are not holding Ctrl or Shift keys
or (kbIsDown("lshift","rshift") and kbIsDown("lctrl","rctrl")) -- or holding two keys together
) and not moIsDown(1) -- and the left mouse button is not being held
-- The implementationo is really wild but I hope it will good enough to keep the virtual keys from bugs
then _notHoldCS() end
Expand Down

0 comments on commit 438717e

Please sign in to comment.