Moved sidebar state setting under "Window"

This commit is contained in:
Christian Bastian
2024-09-23 15:03:18 -04:00
parent cb99f3fb62
commit 182c515a6e

View File

@@ -4898,11 +4898,6 @@ class SettingsView {
'vae_approx',
],
}),
$select({
$: (el) => (settings['sidebar-default-state'] = el),
textContent: 'Default model manager position (on start up)',
options: ['Left', 'Right', 'Top', 'Bottom', 'None'],
}),
$checkbox({
$: (el) => (settings['model-real-time-search'] = el),
textContent: 'Real-time search',
@@ -4975,6 +4970,11 @@ class SettingsView {
textContent: 'Save notes by default.',
}),
$el('h2', ['Window']),
$select({
$: (el) => (settings['sidebar-default-state'] = el),
textContent: 'Default model manager position (on start up)',
options: ['None', 'Left', 'Bottom', 'Top', 'Right'],
}),
sidebarControl,
$el('label', [
'Sidebar width (on start up)',