1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-28 01:43:02 +00:00

fix: disable flickering when changing FPS in the options menu

This commit is contained in:
lemz1 2024-10-09 20:50:13 +02:00 committed by Cameron Taylor
parent e66290c55f
commit b2647fe09f
2 changed files with 4 additions and 0 deletions

View file

@ -46,6 +46,8 @@ class EnumPreferenceItem extends TextMenuItem
}
lefthandText = new AtlasText(15, y, formatted(defaultValue), AtlasFont.DEFAULT);
this.fireInstantly = true;
}
override function update(elapsed:Float):Void

View file

@ -58,6 +58,8 @@ class NumberPreferenceItem extends TextMenuItem
this.precision = precision;
this.onChangeCallback = callback;
this.valueFormatter = valueFormatter;
this.fireInstantly = true;
}
override function update(elapsed:Float):Void