forked from Shinonome/dots-hyprland
overlay: fix weird transparency
This commit is contained in:
@@ -4,5 +4,5 @@ import qs.modules.common
|
|||||||
Rectangle {
|
Rectangle {
|
||||||
id: contentItem
|
id: contentItem
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
color: Appearance.colors.colSurfaceContainer
|
color: Appearance.m3colors.m3surfaceContainer
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -190,7 +190,7 @@ AbstractOverlayWidget {
|
|||||||
fill: parent
|
fill: parent
|
||||||
margins: root.resizeMargin
|
margins: root.resizeMargin
|
||||||
}
|
}
|
||||||
color: ColorUtils.transparentize(Appearance.colors.colLayer1, (root.fancyBorders && GlobalStates.overlayOpen) ? 0 : 1)
|
color: ColorUtils.transparentize(Appearance.colors.colLayer1Base, (root.fancyBorders && GlobalStates.overlayOpen) ? 0 : 1)
|
||||||
radius: root.radius
|
radius: root.radius
|
||||||
border.color: ColorUtils.transparentize(Appearance.colors.colOutlineVariant, GlobalStates.overlayOpen ? 0 : 1)
|
border.color: ColorUtils.transparentize(Appearance.colors.colOutlineVariant, GlobalStates.overlayOpen ? 0 : 1)
|
||||||
border.width: 1
|
border.width: 1
|
||||||
|
|||||||
Reference in New Issue
Block a user