set width globally by default
This commit is contained in:
parent
4ca3ac4870
commit
bfdee7873b
|
@ -505,7 +505,7 @@
|
||||||
"message": "Getting all styles..."
|
"message": "Getting all styles..."
|
||||||
},
|
},
|
||||||
"headerResizerHint": {
|
"headerResizerHint": {
|
||||||
"message": "Holding Shift key while dragging will set the new size in all UI pages",
|
"message": "Hold Shift to resize only in this type of UI, i.e. editor, manager, installer",
|
||||||
"description": "Tooltip for the header panel resizer"
|
"description": "Tooltip for the header panel resizer"
|
||||||
},
|
},
|
||||||
"helpAlt": {
|
"helpAlt": {
|
||||||
|
|
|
@ -40,13 +40,13 @@
|
||||||
active = false;
|
active = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
function save(all) {
|
function save(perPage) {
|
||||||
if (all) {
|
if (perPage) {
|
||||||
|
prefs.set(dom.HWprefId, curW);
|
||||||
|
} else {
|
||||||
for (const k of prefs.knownKeys) {
|
for (const k of prefs.knownKeys) {
|
||||||
if (k.startsWith(dom.HW)) prefs.set(k, curW);
|
if (k.startsWith(dom.HW)) prefs.set(k, curW);
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
prefs.set(dom.HWprefId, curW);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user