dock: fix hover to reveal behavior (#1375)

This commit is contained in:
end-4 2025-06-10 08:53:00 +02:00
parent 49888f30f0
commit bec43ff8ed

View file

@ -56,8 +56,9 @@ Scope { // Scope
anchors.top: parent.top
height: parent.height
anchors.topMargin: dockRoot.reveal ? 0 :
ConfigOptions?.dock.hoverToReveal ? (dockRoot.implicitHeight + 1) :
(dockRoot.implicitHeight - ConfigOptions.dock.hoverRegionHeight)
ConfigOptions?.dock.hoverToReveal ? (dockRoot.implicitHeight - ConfigOptions.dock.hoverRegionHeight) :
(dockRoot.implicitHeight + 1)
anchors.left: parent.left
anchors.right: parent.right
hoverEnabled: true