tweak: separate window title and class update transitions
This commit is contained in:
parent
e45f412930
commit
dddec675d2
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue