Skip to content

Commit

Permalink
R to reset section
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowMario committed Aug 19, 2024
1 parent af69bb3 commit d34e99c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions source/states/editors/ChartingState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,7 @@ class ChartingState extends MusicBeatState implements PsychUIEventHandler.PsychU
"Shift + Click - Select/Unselect Note(s)",
"Right Click - Selection Box",
"",
"R - Reset Section",
"Z/X - Zoom in/out",
"Left/Right - Change Snap",
#if FLX_PITCH
Expand Down Expand Up @@ -877,6 +878,10 @@ class ChartingState extends MusicBeatState implements PsychUIEventHandler.PsychU
}
}
}
else if(FlxG.keys.justPressed.R)
{
Conductor.songPosition = FlxG.sound.music.time = cachedSectionTimes[curSec] + (curSec > 0 ? 0.000001 : 0);
}
else if(FlxG.keys.pressed.W != FlxG.keys.pressed.S || FlxG.mouse.wheel != 0)
{
if(FlxG.sound.music.playing)
Expand Down

0 comments on commit d34e99c

Please sign in to comment.