aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorMaxXor <admin@maxxor.org>2017-08-31 14:44:44 +0200
committerMaxXor <admin@maxxor.org>2017-08-31 14:44:44 +0200
commitb8da85d0a4e6ec0f7b2f39ec869efbca9c701984 (patch)
tree3c848fed10379dde50308130638d81cbe1819d63 /components
parentc68c31777693ae75b59c0d24c44195a97bbf0c1c (diff)
downloadmonzero-gui-b8da85d0a4e6ec0f7b2f39ec869efbca9c701984.tar.gz
monzero-gui-b8da85d0a4e6ec0f7b2f39ec869efbca9c701984.tar.xz
monzero-gui-b8da85d0a4e6ec0f7b2f39ec869efbca9c701984.zip
Fix IconButton
Diffstat (limited to 'components')
-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)
+ }
+ }
}