coloranimation

This commit is contained in:
Zacharias-Brohn
2025-11-25 22:22:03 +01:00
parent 31f4f8655c
commit fa19c59d0e
3 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ RowLayout {
popouts.hasCurrent = true;
} else if ( id === "resources" && Config.barConfig.popouts.resources ) {
popouts.currentName = "resources";
popouts.currentCenter = Qt.binding(() => item.mapToItem(root, itemWidth / 2, 0).x);
popouts.currentCenter = Qt.binding(() => item.mapToItem(root, itemWidth / 2 + 5, 0).x);
popouts.hasCurrent = true;
} else if (id === "tray" && Config.barConfig.popouts.tray) {
const index = Math.floor(((x - top - 6) / item.implicitWidth) * item.items.count);