mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-19 04:08:48 +00:00
dead pixel workaround: also for bottom edge
This commit is contained in:
parent
d37cf9e9c4
commit
fcdc17dd93
2 changed files with 5 additions and 1 deletions
|
|
@ -77,6 +77,7 @@ Scope {
|
|||
|
||||
margins {
|
||||
right: (Config.options.interactions.deadPixelWorkaround.enable && barRoot.anchors.right) * -1
|
||||
bottom: (Config.options.interactions.deadPixelWorkaround.enable && barRoot.anchors.bottom) * -1
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
|
|
@ -85,6 +86,7 @@ Scope {
|
|||
anchors {
|
||||
fill: parent
|
||||
rightMargin: (Config.options.interactions.deadPixelWorkaround.enable && barRoot.anchors.right) * 1
|
||||
bottomMargin: (Config.options.interactions.deadPixelWorkaround.enable && barRoot.anchors.bottom) * 1
|
||||
}
|
||||
|
||||
Item {
|
||||
|
|
@ -106,7 +108,7 @@ Scope {
|
|||
top: parent.top
|
||||
bottom: undefined
|
||||
topMargin: (Config?.options.bar.autoHide.enable && !mustShow) ? -Appearance.sizes.barHeight : 0
|
||||
bottomMargin: 0
|
||||
bottomMargin: (Config.options.interactions.deadPixelWorkaround.enable && barRoot.anchors.bottom) * -1
|
||||
rightMargin: (Config.options.interactions.deadPixelWorkaround.enable && barRoot.anchors.right) * -1
|
||||
}
|
||||
Behavior on anchors.topMargin {
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@ Scope {
|
|||
}
|
||||
margins {
|
||||
right: (Config.options.interactions.deadPixelWorkaround.enable && cornerPanelWindow.anchors.right) * -1
|
||||
bottom: (Config.options.interactions.deadPixelWorkaround.enable && cornerPanelWindow.anchors.bottom) * -1
|
||||
}
|
||||
|
||||
implicitWidth: cornerWidget.implicitWidth
|
||||
|
|
@ -53,6 +54,7 @@ Scope {
|
|||
anchors.fill: parent
|
||||
corner: cornerPanelWindow.corner
|
||||
rightVisualMargin: (Config.options.interactions.deadPixelWorkaround.enable && cornerPanelWindow.anchors.right) * 1
|
||||
bottomVisualMargin: (Config.options.interactions.deadPixelWorkaround.enable && cornerPanelWindow.anchors.bottom) * 1
|
||||
|
||||
implicitSize: Appearance.rounding.screenRounding
|
||||
implicitHeight: Math.max(implicitSize, sidebarCornerOpenInteractionLoader.implicitHeight)
|
||||
|
|
|
|||
Loading…
Reference in a new issue