Compare commits

...

2 commits

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
@ -215,7 +216,7 @@ Item {
if (root.uiState.workspaces.get(i).workspace === root.toplevel?.workspace) if (root.uiState.workspaces.get(i).workspace === root.toplevel?.workspace)
return qsTr("Workspace: %1").arg(i + 1) return qsTr("Workspace: %1").arg(i + 1)
} }
return qsTr("Workspace unknown") return qsTr("Workspace: unknown")
} }
} }