dock: hover region adjustment

This commit is contained in:
end-4
2025-06-08 11:29:33 +02:00
parent e8c294f434
commit 8dab758d78
+3 -1
View File
@@ -55,7 +55,9 @@ Scope { // Scope
id: dockMouseArea
anchors.top: parent.top
height: parent.height
anchors.topMargin: dockRoot.reveal ? 0 : dockRoot.implicitHeight - ConfigOptions.dock.hoverRegionHeight
anchors.topMargin: dockRoot.reveal ? 0 :
ConfigOptions?.dock.hoverToReveal ? (dockRoot.implicitHeight + 1) :
(dockRoot.implicitHeight - ConfigOptions.dock.hoverRegionHeight)
anchors.left: parent.left
anchors.right: parent.right
hoverEnabled: true