Порівняти коміти

...
Автор SHA1 Повідомлення Дата
l0ng-ai b830760a88 fix(editor): keep editor text sharp after scrolling on Linux
Kept-alive text editors sit on their own compositing layer (will-change and
translateZ). WebKitGTK's DMA-BUF renderer leaves the text on that layer blurry
once scrolling stops (AMD, KWin Wayland), while the Project tree and terminal,
which have no such layer, stay sharp. On Linux the visible page no longer gets
its own layer.

Fixes #7881
2026-12-05 00:43:54 +08:00
+5
Переглянути файл
@@ -74,6 +74,11 @@
will-change: transform;
transform: translateZ(0);
}
/* WebKitGTK's DMA-BUF renderer leaves text on such a layer blurry after scrolling (AMD, KWin Wayland). */
html[data-os="linux"] .keptText:not(.keptHidden) {
will-change: auto;
transform: none;
}
.keptText.keptHidden {
content-visibility: visible;
transform: translate3d(-100vw, 0, 0);