mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2025-04-06 04:04:23 -04:00
fix: disable flickering when changing FPS in the options menu
This commit is contained in:
parent
e66290c55f
commit
b2647fe09f
2 changed files with 4 additions and 0 deletions
source/funkin/ui/options/items
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue