nixnew/modules/user/modules/quickshell/shell/bar/ActivityButton.qml
2025-07-24 18:52:16 -07:00

19 lines
396 B
QML

import QtQuick
import QtQuick.Controls
ClickableIcon {
id: root
property bool showAction: false
showPressed: mouseArea.pressed || showAction
BusyIndicator {
parent: root
anchors.centerIn: parent
opacity: root.showAction ? 1 : 0
Behavior on opacity { SmoothedAnimation { velocity: 8 }}
visible: opacity != 0
width: root.width - 3 + opacity * 11
height: width
padding: 0
}
}