mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-06-08 04:09:15 -04:00
54f272ba1e
The toast Rectangle uses `layer.enabled: true`, which renders to a texture before compositing. With fractional implicit/content sizes (derived from text and icon metrics), the cached texture was being sampled with sub-pixel interpolation and the toast looked blurry under fractional-scale-aware compositors (e.g., niri). Wrap toastWidth/toastHeight and implicitWidth/implicitHeight with Theme.px(value, dpr), matching the alignment NotificationPopup.qml already applies to its surface.