forked from Public/monero-gui
Fix IconButton
This commit is contained in:
@@ -50,23 +50,23 @@ Item {
|
|||||||
z: 100
|
z: 100
|
||||||
}
|
}
|
||||||
|
|
||||||
// MouseArea {
|
MouseArea {
|
||||||
// id: buttonArea
|
id: buttonArea
|
||||||
// anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
||||||
|
|
||||||
// onPressed: {
|
onPressed: {
|
||||||
// buttonImage.x = buttonImage.x + 2
|
buttonImage.x = buttonImage.x + 2
|
||||||
// buttonImage.y = buttonImage.y + 2
|
buttonImage.y = buttonImage.y + 2
|
||||||
// }
|
}
|
||||||
// onReleased: {
|
onReleased: {
|
||||||
// buttonImage.x = buttonImage.x - 2
|
buttonImage.x = buttonImage.x - 2
|
||||||
// buttonImage.y = buttonImage.y - 2
|
buttonImage.y = buttonImage.y - 2
|
||||||
// }
|
}
|
||||||
|
|
||||||
// onClicked: {
|
onClicked: {
|
||||||
// parent.clicked(mouse)
|
parent.clicked(mouse)
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user