diff --git a/modules/bar/Bar.qml b/modules/bar/Bar.qml index 43d2f5f..0fd65b8 100644 --- a/modules/bar/Bar.qml +++ b/modules/bar/Bar.qml @@ -36,7 +36,7 @@ Variants { spacing: 5 anchors.left: parent.left anchors.verticalCenter: parent.verticalCenter - anchors.leftMargin: Config.rounding == 0 ? Config.floating ? 0 : 10 : root.moduleHeight / 4 + anchors.leftMargin: Config.rounding == 0 ? Config.floating ? 0 : 10 : (Config.barHeight - root.moduleHeight) / 2 Ws { moduleHeight: root.moduleHeight barScreen: root.modelData @@ -60,7 +60,7 @@ Variants { anchors.right: parent.right anchors.verticalCenter: parent.verticalCenter spacing: 5 - anchors.rightMargin: Config.rounding == 0 ? Config.floating ? 0 : 10 : root.moduleHeight / 4 + anchors.rightMargin: Config.rounding === 0 ? Config.floating ? 0 : 10 : (Config.barHeight - root.moduleHeight) / 2 Mpris { moduleHeight: root.moduleHeight }