diff options
Diffstat (limited to 'accounts/gkleen@sif/shell/quickshell/WorkspaceSwitcher.qml')
-rw-r--r-- | accounts/gkleen@sif/shell/quickshell/WorkspaceSwitcher.qml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/accounts/gkleen@sif/shell/quickshell/WorkspaceSwitcher.qml b/accounts/gkleen@sif/shell/quickshell/WorkspaceSwitcher.qml index 4cbebcc9..2d3aca1b 100644 --- a/accounts/gkleen@sif/shell/quickshell/WorkspaceSwitcher.qml +++ b/accounts/gkleen@sif/shell/quickshell/WorkspaceSwitcher.qml | |||
@@ -149,6 +149,8 @@ Row { | |||
149 | WrapperMouseArea { | 149 | WrapperMouseArea { |
150 | id: windowMouseArea | 150 | id: windowMouseArea |
151 | 151 | ||
152 | required property int index | ||
153 | required property var modelData | ||
152 | property var windowData: modelData | 154 | property var windowData: modelData |
153 | 155 | ||
154 | hoverEnabled: true | 156 | hoverEnabled: true |
@@ -164,12 +166,11 @@ Row { | |||
164 | WrapperRectangle { | 166 | WrapperRectangle { |
165 | color: windowMouseArea.containsMouse ? "#33808080" : "transparent"; | 167 | color: windowMouseArea.containsMouse ? "#33808080" : "transparent"; |
166 | 168 | ||
167 | anchors.fill: parent | ||
168 | |||
169 | WrapperItem { | 169 | WrapperItem { |
170 | anchors.fill: parent | 170 | rightMargin: 8 |
171 | 171 | leftMargin: 8 | |
172 | margin: 4 | 172 | topMargin: windowMouseArea.index == 0 ? 8 : 4 |
173 | bottomMargin: windowMouseArea.index == windowsModel.values.length - 1 ? 8 : 4 | ||
173 | 174 | ||
174 | Text { | 175 | Text { |
175 | id: windowLabel | 176 | id: windowLabel |