diff --git a/hmm.json b/hmm.json index 64a05b16f..57c9378aa 100644 --- a/hmm.json +++ b/hmm.json @@ -49,7 +49,7 @@ "name": "haxeui-core", "type": "git", "dir": null, - "ref": "bfdb49886f256a8c37edfc4f46586727d68e2756", + "ref": "91ed8d7867c52af5ea2a9513204057d69ab33c8e", "url": "https://github.com/haxeui/haxeui-core" }, { @@ -144,7 +144,7 @@ "name": "polymod", "type": "git", "dir": null, - "ref": "41aea83dbc267234b301434553ce8c17742b8ab7", + "ref": "80d1d309803c1b111866524f9769325e3b8b0b1b", "url": "https://github.com/larsiusprime/polymod" }, { diff --git a/source/funkin/ui/debug/charting/ChartEditorState.hx b/source/funkin/ui/debug/charting/ChartEditorState.hx index 983840b75..1f8713d4f 100644 --- a/source/funkin/ui/debug/charting/ChartEditorState.hx +++ b/source/funkin/ui/debug/charting/ChartEditorState.hx @@ -2137,8 +2137,6 @@ class ChartEditorState extends HaxeUIState // Disable the menu item if we're not on a desktop platform. var menubarItemGoToBackupsFolder = findComponent('menubarItemGoToBackupsFolder', MenuItem); if (menubarItemGoToBackupsFolder != null) menubarItemGoToBackupsFolder.disabled = true; - - menubarItemGoToBackupsFolder.disabled = true; #end addUIClickListener('menubarItemUserGuide', _ -> this.openUserGuideDialog()); @@ -2291,9 +2289,13 @@ class ChartEditorState extends HaxeUIState */ function openBackupsFolder():Void { + #if sys // TODO: Is there a way to open a folder and highlight a file in it? var absoluteBackupsPath:String = Path.join([Sys.getCwd(), ChartEditorImportExportHandler.BACKUPS_PATH]); WindowUtil.openFolder(absoluteBackupsPath); + #else + trace('No file system access, cannot open backups folder.'); + #end } /**