mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
fix: dock cannot instantly hide or show when toggle auto-hide option
This commit is contained in:
@@ -46,6 +46,10 @@ const dockItems = computed((): DockItem[] => {
|
||||
]
|
||||
})
|
||||
|
||||
watch(() => settings.value.autoHideDock, (newValue) => {
|
||||
hideDock.value = newValue
|
||||
})
|
||||
|
||||
onMounted(() => {
|
||||
if (settings.value.autoHideDock)
|
||||
hideDock.value = true
|
||||
|
||||
Reference in New Issue
Block a user