Update hover effect to match QtQuickControls port
Change-Id: Ib3ad938f24d2a7c9e5d8c6cdd5d6717b3574351a
This commit is contained in:
parent
88ccf7be3d
commit
b2a5ebc926
@ -154,7 +154,7 @@ QtQuickControlStyle.ButtonStyle {
|
||||
width: Math.floor(parent.height/2) * 2
|
||||
height: width
|
||||
//internal: if there is no hover status, don't paint on mouse over in touchscreens
|
||||
opacity: (control.pressed || control.checked || !control.flat || (roundShadow.hasOverState && mouse.containsMouse)) ? 1 : 0
|
||||
opacity: (control.pressed || control.checked || !control.flat || (roundShadow.hasOverState && control.hovered)) ? 1 : 0
|
||||
Behavior on opacity {
|
||||
PropertyAnimation { duration: units.longDuration }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user