From e7ccb702a3141bfb62a6597e7863c25afff07d60 Mon Sep 17 00:00:00 2001 From: purian23 Date: Fri, 5 Jun 2026 23:17:14 -0400 Subject: [PATCH] refactor: update KeybindsModal dynamic sizing --- quickshell/Modals/KeybindsModal.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quickshell/Modals/KeybindsModal.qml b/quickshell/Modals/KeybindsModal.qml index e178f109..64b01773 100644 --- a/quickshell/Modals/KeybindsModal.qml +++ b/quickshell/Modals/KeybindsModal.qml @@ -14,8 +14,8 @@ DankModal { useOverlayLayer: true property real scrollStep: 60 property var activeFlickable: null - property real _maxW: Math.min(Screen.width * 0.92, 1200) - property real _maxH: Math.min(Screen.height * 0.92, 900) + property real _maxW: Math.min(root.screenWidth * 0.92, 1200) + property real _maxH: Math.min(root.screenHeight * 0.92, 900) modalWidth: _maxW modalHeight: _maxH onBackgroundClicked: close()