From 24e12e8f7832b654cba5c94cd023fc89998b32e6 Mon Sep 17 00:00:00 2001 From: davidsastresas Date: Sat, 21 Oct 2023 15:29:10 +0200 Subject: [PATCH] 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 --- src/QmlControls/QGCButton.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/QmlControls/QGCButton.qml b/src/QmlControls/QGCButton.qml index 6570bd4..ead8485 100644 --- a/src/QmlControls/QGCButton.qml +++ b/src/QmlControls/QGCButton.qml @@ -7,7 +7,7 @@ import QGroundControl.ScreenTools 1.0 Button { id: control - hoverEnabled: true + hoverEnabled: !ScreenTools.isMobile topPadding: _verticalPadding bottomPadding: _verticalPadding leftPadding: _horizontalPadding