fix(Controls): ensure round buttons expose `hovered` state

Fixes #88
This commit is contained in:
Pascal Precht 2021-05-27 15:22:48 +02:00 committed by Michał Cieślak
parent 3b48df10b3
commit 6c1cb965eb
2 changed files with 4 additions and 0 deletions

View File

@ -32,6 +32,8 @@ Rectangle {
property bool loading: false property bool loading: false
property alias hovered: sensor.containsMouse
property int type: StatusFlatRoundButton.Type.Primary property int type: StatusFlatRoundButton.Type.Primary
signal pressed(var mouse) signal pressed(var mouse)

View File

@ -32,6 +32,8 @@ Rectangle {
property bool loading: false property bool loading: false
property alias hovered: sensor.containsMouse
property int type: StatusRoundButton.Type.Primary property int type: StatusRoundButton.Type.Primary
signal pressed(var mouse) signal pressed(var mouse)