tweak: separate window title and class update transitions

This commit is contained in:
Kiana Sheibani 2026-01-29 19:58:51 -05:00
parent e45f412930
commit dddec675d2
Signed by: toki
GPG key ID: 6CB106C25E86A9F7

View file

@ -148,7 +148,7 @@ Item {
Behavior on text { Behavior on text {
Anim { Anim {
target: names target: title
property: "opacity" property: "opacity"
from: 0 from: 0
to: 1 to: 1
@ -157,6 +157,7 @@ Item {
} }
CustomText { CustomText {
id: cls
Layout.fillWidth: true Layout.fillWidth: true
text: toplevel?.lastIpcObject.class ?? "" text: toplevel?.lastIpcObject.class ?? ""
font.pointSize: Config.font.size.small font.pointSize: Config.font.size.small
@ -165,7 +166,7 @@ Item {
Behavior on text { Behavior on text {
Anim { Anim {
target: names target: cls
property: "opacity" property: "opacity"
from: 0 from: 0
to: 1 to: 1