aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--components/IconButton.qml30
1 files changed, 15 insertions, 15 deletions
diff --git a/components/IconButton.qml b/components/IconButton.qml
index eeb80267..042439f1 100644
--- a/components/IconButton.qml
+++ b/components/IconButton.qml
@@ -50,23 +50,23 @@ Item {
z: 100
}
-// MouseArea {
-// id: buttonArea
-// anchors.fill: parent
+ MouseArea {
+ id: buttonArea
+ anchors.fill: parent
-// onPressed: {
-// buttonImage.x = buttonImage.x + 2
-// buttonImage.y = buttonImage.y + 2
-// }
-// onReleased: {
-// buttonImage.x = buttonImage.x - 2
-// buttonImage.y = buttonImage.y - 2
-// }
+ onPressed: {
+ buttonImage.x = buttonImage.x + 2
+ buttonImage.y = buttonImage.y + 2
+ }
+ onReleased: {
+ buttonImage.x = buttonImage.x - 2
+ buttonImage.y = buttonImage.y - 2
+ }
-// onClicked: {
-// parent.clicked(mouse)
-// }
-// }
+ onClicked: {
+ parent.clicked(mouse)
+ }
+ }
}