tweak: modify the local storage of the dock

This commit is contained in:
karrix 2024-10-11 17:15:28 +08:00
parent 292f77f06b
commit 3a3b93d564

View File

@ -469,10 +469,8 @@ const ext = {
"Comfy.Sidebar.Location", "Comfy.Sidebar.Location",
"right" "right"
); );
await app.ui.settings.setSettingValueAsync( localStorage.setItem("Comfy.MenuPosition.Docked", "true");
"Comfy.MenuPosition.Docked", console.log("native mode manmanman");
true
);
} catch (error) { } catch (error) {
console.error("Error setting validation to false", error); console.error("Error setting validation to false", error);
} }