Browse Source

QGCButton.qml: hover disabled on mobile:

For some reason in mobile the button would keep as hovered
even if it is not pressed, so it was weird. This way it
makes more sense for mobile, the UI is consistent with
what is happening
QGC4.4
davidsastresas 1 year ago committed by Julian Oes
parent
commit
24e12e8f78
No known key found for this signature in database
GPG Key ID: F0ED380FEA56DE41
  1. 2
      src/QmlControls/QGCButton.qml

2
src/QmlControls/QGCButton.qml

@ -7,7 +7,7 @@ import QGroundControl.ScreenTools 1.0 @@ -7,7 +7,7 @@ import QGroundControl.ScreenTools 1.0
Button {
id: control
hoverEnabled: true
hoverEnabled: !ScreenTools.isMobile
topPadding: _verticalPadding
bottomPadding: _verticalPadding
leftPadding: _horizontalPadding

Loading…
Cancel
Save