diff options
| author | Soramane <61896496+soramanew@users.noreply.github.com> | 2025-08-29 23:37:50 +1000 |
|---|---|---|
| committer | Soramane <61896496+soramanew@users.noreply.github.com> | 2025-08-29 23:37:50 +1000 |
| commit | 4a6fc3c49c1b803bbd8669ca1c8cef717038b3fa (patch) | |
| tree | 2c338a6f7285f9d082ecd0f1191e21c2effcdbe9 /components | |
| parent | cmake: better modules enable/disable (diff) | |
| download | caelestia-shell-4a6fc3c49c1b803bbd8669ca1c8cef717038b3fa.tar.gz caelestia-shell-4a6fc3c49c1b803bbd8669ca1c8cef717038b3fa.tar.bz2 caelestia-shell-4a6fc3c49c1b803bbd8669ca1c8cef717038b3fa.zip | |
plugin/cim: update on size change
Diffstat (limited to 'components')
| -rw-r--r-- | components/images/CachingImage.qml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/components/images/CachingImage.qml b/components/images/CachingImage.qml index 07b98b6..2aa0558 100644 --- a/components/images/CachingImage.qml +++ b/components/images/CachingImage.qml @@ -1,5 +1,6 @@ import qs.utils import Caelestia +import Quickshell import QtQuick Image { @@ -20,6 +21,14 @@ Image { CUtils.saveItem(this, manager.cachePath); } + Connections { + target: QsWindow.window + + function onDevicePixelRatioChanged(): void { + manager.updateSource(); + } + } + CachingImageManager { id: manager |