diff options
| author | Ja.KooLit <85185940+JaKooLit@users.noreply.github.com> | 2025-07-28 07:08:45 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-28 07:08:45 +0900 |
| commit | 0539861a8f951f0f13ed71af9516293c132cfff6 (patch) | |
| tree | fc835bec717a2ded521806b501a2d932902dac16 | |
| parent | 71be8d527dadb784d87c48786d78dc6d2a5c96ca (diff) | |
| parent | 1fbd9753ca36d1aae4a265284073a892703193bb (diff) | |
Merge pull request #780 from Mewlkor/fix-qs-alignment-scale
Fix: Fix qs alignment scale
| -rw-r--r-- | config/quickshell/modules/overview/OverviewWidget.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/quickshell/modules/overview/OverviewWidget.qml b/config/quickshell/modules/overview/OverviewWidget.qml index 22cf929e..93e90967 100644 --- a/config/quickshell/modules/overview/OverviewWidget.qml +++ b/config/quickshell/modules/overview/OverviewWidget.qml @@ -239,8 +239,8 @@ Item { delegate: OverviewWindow { id: window windowData: windowByAddress[modelData] - monitorData: root.monitorData - scale: root.scale + monitorData: HyprlandData.monitors.find(m => m.id === windowData?.monitor) // use monitorData of the monitor the window is on + scale: root.scale * (monitorData?.scale / root.monitor?.scale) // adjust window scale to the monitor where the overview is displayed availableWorkspaceWidth: root.workspaceImplicitWidth availableWorkspaceHeight: root.workspaceImplicitHeight |
