1
0
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:
bbedward
2025-11-25 22:35:38 -05:00
parent 8b6ae3f39b
commit d8153f7611
3 changed files with 18 additions and 9 deletions

View File

@@ -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();
}
}