forked from Shinonome/dots-hyprland
workaround for hyprland's 1px dead right edge
This commit is contained in:
@@ -41,13 +41,19 @@ Scope {
|
||||
bottom: cornerWidget.isBottomLeft || cornerWidget.isBottomRight
|
||||
right: cornerWidget.isTopRight || cornerWidget.isBottomRight
|
||||
}
|
||||
margins {
|
||||
right: (Config.options.interactions.deadPixelWorkaround.enable && cornerPanelWindow.anchors.right) * -1
|
||||
}
|
||||
|
||||
implicitWidth: cornerWidget.implicitWidth
|
||||
implicitHeight: cornerWidget.implicitHeight
|
||||
|
||||
RoundCorner {
|
||||
id: cornerWidget
|
||||
anchors.fill: parent
|
||||
corner: cornerPanelWindow.corner
|
||||
rightVisualMargin: (Config.options.interactions.deadPixelWorkaround.enable && cornerPanelWindow.anchors.right) * 1
|
||||
|
||||
implicitSize: Appearance.rounding.screenRounding
|
||||
implicitHeight: Math.max(implicitSize, sidebarCornerOpenInteractionLoader.implicitHeight)
|
||||
implicitWidth: Math.max(implicitSize, sidebarCornerOpenInteractionLoader.implicitWidth)
|
||||
|
||||
Reference in New Issue
Block a user