fix(quickshell): keep text sharp under zoom and on the lock screen
Native-rendered glyphs are rasterised at rest size, so anything moved with `scale` stretched a bitmap and came out blurred and stepped. - Icons render as curves, so their pulse and bump stay smooth. - The lock face is laid out at uiScale instead of being drawn at 1080p size and scaled by up to 1.3, and it sits on whole pixels. Its native labels now land on the pixel grid. - The OSD rises into place instead of scaling in. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f1d16e5175
commit
b86e584b02
4 files changed
+76
-61
No files matched your search
@@ -13,7 +13,11 @@ Text {
|
||||
color: Theme.primary
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
renderType: Text.NativeRendering
|
||||
// Curve glyphs, not native ones. Native glyphs are rasterised once at rest
|
||||
// size and the bitmap is stretched when `scale` moves, so every pulse and
|
||||
// bump came out blurred and stepped. Curves are drawn from the outline at
|
||||
// whatever size the icon is at that frame.
|
||||
renderType: Text.CurveRendering
|
||||
|
||||
Behavior on color {
|
||||
ColorAnimation { duration: Theme.durBase }
|
||||
|
||||
Reference in new issue
Block a user