forked from Shinonome/dots-hyprland
dock: fix hover to reveal behavior (#1375)
This commit is contained in:
@@ -56,8 +56,9 @@ Scope { // Scope
|
|||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
height: parent.height
|
height: parent.height
|
||||||
anchors.topMargin: dockRoot.reveal ? 0 :
|
anchors.topMargin: dockRoot.reveal ? 0 :
|
||||||
ConfigOptions?.dock.hoverToReveal ? (dockRoot.implicitHeight + 1) :
|
ConfigOptions?.dock.hoverToReveal ? (dockRoot.implicitHeight - ConfigOptions.dock.hoverRegionHeight) :
|
||||||
(dockRoot.implicitHeight - ConfigOptions.dock.hoverRegionHeight)
|
(dockRoot.implicitHeight + 1)
|
||||||
|
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
|
|||||||
Reference in New Issue
Block a user