mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-27 01:55:52 -05:00
Fix HTML5 build issue
This commit is contained in:
parent
90dd067aa0
commit
06964ce1e3
1 changed files with 4 additions and 0 deletions
|
@ -5333,6 +5333,7 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState
|
|||
if (displayAutosavePopup)
|
||||
{
|
||||
displayAutosavePopup = false;
|
||||
#if sys
|
||||
Toolkit.callLater(() -> {
|
||||
var absoluteBackupsPath:String = Path.join([Sys.getCwd(), ChartEditorImportExportHandler.BACKUPS_PATH]);
|
||||
this.infoWithActions('Auto-Save', 'Chart auto-saved to ${absoluteBackupsPath}.', [
|
||||
|
@ -5342,6 +5343,9 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState
|
|||
}
|
||||
]);
|
||||
});
|
||||
#else
|
||||
// TODO: No auto-save on HTML5?
|
||||
#end
|
||||
}
|
||||
|
||||
moveSongToScrollPosition();
|
||||
|
|
Loading…
Reference in a new issue