1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2025-03-22 01:49:21 +00:00

This does fix it now

This commit is contained in:
Kade 2024-09-16 17:23:49 -07:00
parent 7d2b946e9c
commit 9624b57e44
No known key found for this signature in database

View file

@ -3830,7 +3830,7 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState
function handleScrollKeybinds():Void function handleScrollKeybinds():Void
{ {
// Don't scroll when the user is interacting with the UI, unless a playbar button (the << >> ones) is pressed. // Don't scroll when the user is interacting with the UI, unless a playbar button (the << >> ones) is pressed.
if ((isHaxeUIFocused || isHaxeUIDialogOpen) && playbarButtonPressed == null) return; if ((isHaxeUIFocused || isCursorOverHaxeUI) && playbarButtonPressed == null) return;
var scrollAmount:Float = 0; // Amount to scroll the grid. var scrollAmount:Float = 0; // Amount to scroll the grid.
var playheadAmount:Float = 0; // Amount to scroll the playhead relative to the grid. var playheadAmount:Float = 0; // Amount to scroll the playhead relative to the grid.