diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-14 23:22:47 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-14 23:22:47 +1000 |
| commit | edef1d21fb59b62ae8b684b375b046fc483dcd48 (patch) | |
| tree | ac31ae636a30082ff453f8c23f0483b74abf1926 /modules/bar/popouts/Bluetooth.qml | |
| parent | nix: use newer version of app2unit (#419) (diff) | |
| download | caelestia-shell-edef1d21fb59b62ae8b684b375b046fc483dcd48.tar.gz caelestia-shell-edef1d21fb59b62ae8b684b375b046fc483dcd48.tar.bz2 caelestia-shell-edef1d21fb59b62ae8b684b375b046fc483dcd48.zip | |
internal: better loading indicator
Abstract circular progress into own component
Diffstat (limited to 'modules/bar/popouts/Bluetooth.qml')
| -rw-r--r-- | modules/bar/popouts/Bluetooth.qml | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/modules/bar/popouts/Bluetooth.qml b/modules/bar/popouts/Bluetooth.qml index 6678030..22bdc77 100644 --- a/modules/bar/popouts/Bluetooth.qml +++ b/modules/bar/popouts/Bluetooth.qml @@ -111,17 +111,8 @@ ColumnLayout { color: Qt.alpha(Colours.palette.m3primary, device.modelData.state === BluetoothDeviceState.Connected ? 1 : 0) StyledBusyIndicator { - anchors.centerIn: parent - - implicitWidth: implicitHeight - implicitHeight: connectIcon.implicitHeight - - running: opacity > 0 - opacity: device.loading ? 1 : 0 - - Behavior on opacity { - Anim {} - } + anchors.fill: parent + running: device.loading } StateLayer { |