From 62da862a66eb002d5e271dc2b6b74597e43ed455 Mon Sep 17 00:00:00 2001 From: bbedward Date: Wed, 19 Nov 2025 14:36:08 -0500 Subject: [PATCH] modal: round textureSize pixels --- quickshell/Modals/Common/DankModal.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickshell/Modals/Common/DankModal.qml b/quickshell/Modals/Common/DankModal.qml index 06c6fb9d..c4be3659 100644 --- a/quickshell/Modals/Common/DankModal.qml +++ b/quickshell/Modals/Common/DankModal.qml @@ -245,7 +245,7 @@ PanelWindow { clip: false layer.enabled: true layer.smooth: false - layer.textureSize: Qt.size(width * root.dpr, height * root.dpr) + layer.textureSize: Qt.size(Math.round(width * root.dpr), Math.round(height * root.dpr)) opacity: root.shouldBeVisible ? 1 : 0 scale: modalContainer.scaleValue x: Theme.snap(modalContainer.animX + (parent.width - width) * (1 - modalContainer.scaleValue) * 0.5, root.dpr)