forked from Shinonome/dots-hyprland
dock: hover region adjustment
This commit is contained in:
@@ -55,7 +55,9 @@ Scope { // Scope
|
|||||||
id: dockMouseArea
|
id: dockMouseArea
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
height: parent.height
|
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.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
|
|||||||
Reference in New Issue
Block a user