diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-07 17:05:45 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-07 17:05:45 +1000 |
| commit | d7e3be861f25b66b425587880171b4a7f7fd7eba (patch) | |
| tree | 25bb8957b9689350aee3bbef5928fb1935c2f673 /components | |
| parent | controlcenter: add header when floating (diff) | |
| download | caelestia-shell-d7e3be861f25b66b425587880171b4a7f7fd7eba.tar.gz caelestia-shell-d7e3be861f25b66b425587880171b4a7f7fd7eba.tar.bz2 caelestia-shell-d7e3be861f25b66b425587880171b4a7f7fd7eba.zip | |
internal: fix transparent transitions
Diffstat (limited to 'components')
| -rw-r--r-- | components/controls/StyledRadioButton.qml | 2 | ||||
| -rw-r--r-- | components/filedialog/FolderContents.qml | 2 | ||||
| -rw-r--r-- | components/filedialog/Sidebar.qml | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/components/controls/StyledRadioButton.qml b/components/controls/StyledRadioButton.qml index 73fc836..7a44baa 100644 --- a/components/controls/StyledRadioButton.qml +++ b/components/controls/StyledRadioButton.qml @@ -36,7 +36,7 @@ RadioButton { implicitHeight: 8 radius: Appearance.rounding.full - color: root.checked ? Colours.palette.m3primary : "transparent" + color: Qt.alpha(Colours.palette.m3primary, root.checked ? 1 : 0) } Behavior on border.color { diff --git a/components/filedialog/FolderContents.qml b/components/filedialog/FolderContents.qml index 45930ba..57500c8 100644 --- a/components/filedialog/FolderContents.qml +++ b/components/filedialog/FolderContents.qml @@ -124,7 +124,7 @@ Item { implicitHeight: nonAnimHeight radius: Appearance.rounding.normal - color: GridView.isCurrentItem ? Colours.palette.m3surfaceContainerHighest : "transparent" + color: Qt.alpha(Colours.palette.m3surfaceContainerHighest, GridView.isCurrentItem ? 1 : 0) z: GridView.isCurrentItem || implicitHeight !== nonAnimHeight ? 1 : 0 clip: true diff --git a/components/filedialog/Sidebar.qml b/components/filedialog/Sidebar.qml index 82a1dd5..173b429 100644 --- a/components/filedialog/Sidebar.qml +++ b/components/filedialog/Sidebar.qml @@ -48,7 +48,7 @@ StyledRect { implicitHeight: placeInner.implicitHeight + Appearance.padding.normal * 2 radius: Appearance.rounding.full - color: selected ? Colours.palette.m3secondaryContainer : "transparent" + color: Qt.alpha(Colours.palette.m3secondaryContainer, selected ? 1 : 0) StateLayer { color: place.selected ? Colours.palette.m3onSecondaryContainer : Colours.palette.m3onSurface |