mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-17 08:17:59 +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
|
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)
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue