diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-12 18:49:57 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-12 18:49:57 +0200 |
| commit | 63c27fbf5dbe438a74773a733a8e20acc1988de3 (patch) | |
| tree | b24f72cf809f832297e18cfc87d62d1ce0748f15 /vm-manager/VmPanel.qml | |
| parent | dda3ebf3f50e62e397836a79b58da2ad3150f7fc (diff) | |
| download | quickshell-63c27fbf5dbe438a74773a733a8e20acc1988de3.tar.gz quickshell-63c27fbf5dbe438a74773a733a8e20acc1988de3.zip | |
feat(window-switcher): one card, with the preview fitted
The card box is a fixed 16:10 and the preview is fitted inside it rather
than the card taking its preview's shape. DP-1 windows are near 21:9 and
DP-3 reports transform=1, so its windows are portrait 9:16: a 4.4x span
of aspect ratio in one grid, and ragged rows would break the alignment of
the three text lines that make it scannable.
Both corner overlays carry a scrim. They are drawn over an arbitrary
window, so a themed icon can otherwise land on a same-coloured region and
disappear.
An uncaptured ScreencopyView reports sourceSize (-1, -1) rather than
(0, 0), so the aspect ratio guard tests for a positive height.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SYg4wYHq5XNbiVmMeKRb1S
Diffstat (limited to 'vm-manager/VmPanel.qml')
0 files changed, 0 insertions, 0 deletions
