mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-17 00:07:51 +00:00
Fix IconButton
This commit is contained in:
parent
c68c317776
commit
b8da85d0a4
1 changed files with 15 additions and 15 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue