This commit is contained in:
lucy 2026-02-12 00:43:30 +01:00
parent 53ee6f4103
commit af08c61c4f

View File

@ -51,6 +51,8 @@ Rectangle {
CustomText { CustomText {
anchors.centerIn: workspaceNumber anchors.centerIn: workspaceNumber
verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter
text: parent.modelData.id text: parent.modelData.id
color: parent.modelData.focused ? Colors.onPrimaryColor : Colors.onSurfaceColor color: parent.modelData.focused ? Colors.onPrimaryColor : Colors.onSurfaceColor
opacity: workspaceNumber.modelData.focused ? 1 : 0.5 opacity: workspaceNumber.modelData.focused ? 1 : 0.5