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 2 years 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
Button { Button {
id: control id: control
hoverEnabled: true hoverEnabled: !ScreenTools.isMobile
topPadding: _verticalPadding topPadding: _verticalPadding
bottomPadding: _verticalPadding bottomPadding: _verticalPadding
leftPadding: _horizontalPadding leftPadding: _horizontalPadding

Loading…
Cancel
Save