expose isPressed state to indicators

pull/5/head
Michail Vourlakos 6 years ago
parent 6f84812a53
commit d4b2589d0c

@ -45,6 +45,7 @@ Item{
readonly property bool isGroup: false
readonly property bool isHovered: appletIsValid ? appletMouseArea.containsMouse : false
readonly property bool isMinimized: false
readonly property bool isPressed: appletIsValid ? appletMouseArea.pressed : false
readonly property bool inAttention: false
readonly property bool inRemoving: false

@ -48,6 +48,7 @@ Item {
readonly property bool isGroup: taskIsValid ? taskItem.isGroupParent : false
readonly property bool isHovered: taskIsValid ? taskItem.containsMouse : false
readonly property bool isMinimized: taskIsValid ? taskItem.isMinimized : false
readonly property bool isPressed: taskIsValid ? taskItem.pressed : false
readonly property bool inAttention: taskIsValid ? taskItem.inAttention : false
readonly property bool inRemoving: taskIsValid ? taskItem.inRemoveStage : false

Loading…
Cancel
Save