forked from Shinonome/dots-hyprland
waffles: taskview: fix sizes not getting updated
This commit is contained in:
@@ -21,6 +21,7 @@ WMouseAreaButton {
|
||||
required property int maxWidth
|
||||
|
||||
property var hyprlandClient: HyprlandData.clientForToplevel(root.toplevel)
|
||||
property string address: hyprlandClient?.address
|
||||
|
||||
property string iconName: AppSearch.guessIcon(hyprlandClient?.class)
|
||||
|
||||
@@ -35,9 +36,9 @@ WMouseAreaButton {
|
||||
layer.enabled: true
|
||||
layer.effect: OpacityMask {
|
||||
maskSource: Rectangle {
|
||||
width: root.width
|
||||
height: root.height
|
||||
radius: root.radius
|
||||
width: root.background.width
|
||||
height: root.background.height
|
||||
radius: root.background.radius
|
||||
}
|
||||
}
|
||||
scale: (root.pressedButtons & Qt.LeftButton) ? 0.95 : 1
|
||||
|
||||
Reference in New Issue
Block a user