Fix borked property stuff

This commit is contained in:
Loren Burkholder 2021-07-17 16:16:02 -04:00
parent 913d0fd139
commit 4ddcff2300
1 changed files with 2 additions and 2 deletions

View File

@ -133,7 +133,7 @@ Page {
states: [ states: [
State { State {
name: "highlight" name: "highlight"
when: hovered.hovered && !((Rooms.currentRoom && roomId == Rooms.currentRoom.roomId()) || Rooms.currentRoomPreview.roomid == roomId) when: hovered.hovered && !((Rooms.currentRoom && roomId == Rooms.currentRoom.roomId) || Rooms.currentRoomPreview.roomid == roomId)
PropertyChanges { PropertyChanges {
target: roomItem target: roomItem
@ -147,7 +147,7 @@ Page {
}, },
State { State {
name: "selected" name: "selected"
when: (Rooms.currentRoom && roomId == Rooms.currentRoom.roomId()) || Rooms.currentRoomPreview.roomid == roomId when: (Rooms.currentRoom && roomId == Rooms.currentRoom.roomId) || Rooms.currentRoomPreview.roomid == roomId
PropertyChanges { PropertyChanges {
target: roomItem target: roomItem