From 01137325aa22e84cbd9746f6cc6b692323b19d7e Mon Sep 17 00:00:00 2001 From: davidsastresas Date: Sat, 21 Oct 2023 15:29:25 +0200 Subject: [PATCH] ToolStripHoverButton.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/ToolStripHoverButton.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/QmlControls/ToolStripHoverButton.qml b/src/QmlControls/ToolStripHoverButton.qml index 0af34cb..16192c8 100644 --- a/src/QmlControls/ToolStripHoverButton.qml +++ b/src/QmlControls/ToolStripHoverButton.qml @@ -18,7 +18,7 @@ Button { id: control width: contentLayoutItem.contentWidth + (contentMargins * 2) height: width - hoverEnabled: true + hoverEnabled: !ScreenTools.isMobile enabled: toolStripAction.enabled visible: toolStripAction.visible imageSource: toolStripAction.showAlternateIcon ? modelData.alternateIconSource : modelData.iconSource