sidebar: ai: make loading indicator transition smoother, disable text fade by default

This commit is contained in:
end-4
2025-10-30 18:17:57 +01:00
parent 46c803c9ce
commit 81116598cb
2 changed files with 7 additions and 3 deletions
@@ -415,7 +415,7 @@ Singleton {
property int delay: 300 // Delay before sending request. Reduces (potential) rate limits and lag.
}
property JsonObject ai: JsonObject {
property bool textFadeIn: true
property bool textFadeIn: false
}
property JsonObject booru: JsonObject {
property bool allowNsfw: false
@@ -269,9 +269,13 @@ Rectangle {
Item {
Layout.fillWidth: true
implicitHeight: loadingIndicatorLoader.implicitHeight
implicitHeight: loadingIndicatorLoader.shown ? loadingIndicatorLoader.implicitHeight : 0
implicitWidth: loadingIndicatorLoader.implicitWidth
visible: loadingIndicatorLoader.visible
visible: implicitHeight > 0
Behavior on implicitHeight {
animation: Appearance.animation.elementMove.numberAnimation.createObject(this)
}
FadeLoader {
id: loadingIndicatorLoader
anchors.centerIn: parent