fix: default queue button position to dock
This commit is contained in:
parent
a139424b91
commit
292f77f06b
@ -460,9 +460,19 @@ const ext = {
|
|||||||
if (this.native_mode) {
|
if (this.native_mode) {
|
||||||
// console.log("native mode", window, window.app);
|
// console.log("native mode", window, window.app);
|
||||||
try {
|
try {
|
||||||
await app.ui.settings.setSettingValueAsync('Comfy.UseNewMenu', 'Top')
|
await app.ui.settings.setSettingValueAsync("Comfy.UseNewMenu", "Top");
|
||||||
await app.ui.settings.setSettingValueAsync('Comfy.Sidebar.Size', 'small')
|
await app.ui.settings.setSettingValueAsync(
|
||||||
await app.ui.settings.setSettingValueAsync('Comfy.Sidebar.Location', 'right')
|
"Comfy.Sidebar.Size",
|
||||||
|
"small"
|
||||||
|
);
|
||||||
|
await app.ui.settings.setSettingValueAsync(
|
||||||
|
"Comfy.Sidebar.Location",
|
||||||
|
"right"
|
||||||
|
);
|
||||||
|
await app.ui.settings.setSettingValueAsync(
|
||||||
|
"Comfy.MenuPosition.Docked",
|
||||||
|
true
|
||||||
|
);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error("Error setting validation to false", error);
|
console.error("Error setting validation to false", error);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user