1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-05 21:15:38 -05:00

disable layer debug opt

This commit is contained in:
bbedward
2025-10-03 11:21:43 -04:00
parent 740b2f206c
commit 2ce9c43b8c

View File

@@ -82,7 +82,8 @@ PanelWindow {
Item {
id: contentContainer
layer.enabled: true
// ! TODO - cannot figure out the proper fix for this, some texture artifacts with certain drivers screen scales
layer.enabled: Quickshell.env("DMS_DISABLE_LAYER") !== "true"
readonly property real screenWidth: root.screen.width
readonly property real screenHeight: root.screen.height
@@ -110,8 +111,8 @@ PanelWindow {
readonly property real dpr: root.screen.devicePixelRatio
function snap(v) { return Math.round(v * dpr) / dpr }
width: snap(popupWidth)
height: snap(popupHeight)
width: popupWidth
height: popupHeight
x: snap(calculatedX)
y: snap(calculatedY)