mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-24 21:42:51 -05:00
dankbar: improve config reactivity
This commit is contained in:
@@ -1570,7 +1570,7 @@ Item {
|
||||
position: newPos
|
||||
});
|
||||
const isVertical = newPos === SettingsData.Position.Left || newPos === SettingsData.Position.Right;
|
||||
if (!wasVertical && !isVertical) {
|
||||
if (wasVertical !== isVertical || !isVertical) {
|
||||
notifyHorizontalBarChange();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user