Files
illogical-impulse/dots/.config/quickshell/ii/modules/common/widgets/FadeLoader.qml
T
2025-11-19 23:39:18 +01:00

19 lines
429 B
QML

import QtQuick
import qs.modules.common
Loader {
id: root
property bool shown: true
property alias fade: opacityBehavior.enabled
property alias animation: opacityBehavior.animation
opacity: shown ? 1 : 0
visible: opacity > 0
active: opacity > 0
Behavior on opacity {
id: opacityBehavior
animation: Appearance.animation.elementMoveFast.numberAnimation.createObject(this)
}
}