diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-03 18:59:57 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-03 18:59:57 +1000 |
| commit | dbf87354afbf27123a19b2a7e193bcf9c5c2e48c (patch) | |
| tree | ae3068581cbd397325bbff312572a3cb8425377b | |
| parent | filedialog: fix anims (diff) | |
| download | caelestia-shell-dbf87354afbf27123a19b2a7e193bcf9c5c2e48c.tar.gz caelestia-shell-dbf87354afbf27123a19b2a7e193bcf9c5c2e48c.tar.bz2 caelestia-shell-dbf87354afbf27123a19b2a7e193bcf9c5c2e48c.zip | |
filedialog: anim empty text
| -rw-r--r-- | components/filedialog/FolderContents.qml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/components/filedialog/FolderContents.qml b/components/filedialog/FolderContents.qml index 0c6f891..3025478 100644 --- a/components/filedialog/FolderContents.qml +++ b/components/filedialog/FolderContents.qml @@ -49,8 +49,11 @@ Item { Loader { anchors.centerIn: parent - active: view.count === 0 + + opacity: view.count === 0 ? 1 : 0 + active: opacity > 0 asynchronous: true + sourceComponent: ColumnLayout { MaterialIcon { Layout.alignment: Qt.AlignHCenter @@ -67,6 +70,10 @@ Item { font.weight: 500 } } + + Behavior on opacity { + Anim {} + } } GridView { |