Skip to content

Commit

Permalink
use V/D on zoom in/out
Browse files Browse the repository at this point in the history
  • Loading branch information
mcagabe19 committed Jun 21, 2024
1 parent 4b31919 commit b624300
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/states/editors/ChartingState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ class ChartingState extends MusicBeatState implements PsychUIEventHandler.PsychU
"",
"Hold Y to move 4x faster",
"Hold F and touch on an arrow to select it",
"Z/D - Zoom in/out",
"V/D - Zoom in/out",
"",
"C - Test your chart inside Chart Editor",
"A - Play your chart",
Expand Down Expand Up @@ -1828,11 +1828,11 @@ class ChartingState extends MusicBeatState implements PsychUIEventHandler.PsychU
return;
}

if(virtualPad.buttonV.justPressed || FlxG.keys.justPressed.Z && FlxG.keys.pressed.CONTROL) {
if(virtualPad.buttonZ.justPressed || FlxG.keys.justPressed.Z && FlxG.keys.pressed.CONTROL) {
undo();
}

if(FlxG.keys.justPressed.Z || virtualPad.buttonZ.justPressed && curZoom > 0 && !FlxG.keys.pressed.CONTROL) {
if(FlxG.keys.justPressed.Z || virtualPad.buttonV.justPressed && curZoom > 0 && !FlxG.keys.pressed.CONTROL) {
--curZoom;
updateZoom();
}
Expand Down

0 comments on commit b624300

Please sign in to comment.