change ws style

This commit is contained in:
lucy 2026-06-03 00:11:14 +02:00
commit 8d6040b8fa
2 changed files with 18 additions and 18 deletions

View file

@ -41,8 +41,8 @@ Rectangle {
StyledText {
anchors.centerIn: parent
text: wsWrapper.modelData.id > 10 ? wsWrapper.modelData.id > 20 ? wsWrapper.modelData.id - 20 : wsWrapper.modelData.id - 10 : wsWrapper.modelData.id
color: wsWrapper.active ? Colors.base0D : Colors.base04
opacity: wsWrapper.vacant ? wsWrapper.active ? 1.0 : 0.4 : 1.0
color: wsWrapper.active ? Colors.base0D : Colors.base02
opacity: wsWrapper.vacant ? wsWrapper.active ? 1.0 : 0.5 : 1.0
font.bold: wsWrapper.active
}
MouseArea {