Fix Room delegate opacity for left rooms

This commit is contained in:
miruka 2020-05-13 21:51:31 -04:00
parent 82c8496216
commit eacee59f9e
2 changed files with 3 additions and 7 deletions

View File

@ -2,9 +2,7 @@
- add account number binds
- revise pane collapse mode
- bring back account collapsing
- fix left rooms opacity
- fix escape keybinds (filter rooms, message selection)
- fix python getting stuck when loading large room
- fix accounts in room list not getting their profile updated if mirage starts

View File

@ -12,11 +12,12 @@ HTileDelegate {
backgroundColor: theme.mainPane.listView.room.background
leftPadding: theme.spacing * 2
rightPadding: theme.spacing
opacity:
model.left ? theme.mainPane.listView.room.leftRoomOpacity : 1
contentItem: ContentRow {
tile: room
opacity: model.left ? theme.mainPane.listView.room.leftRoomOpacity : 1
Behavior on opacity { HNumberAnimation {} }
HRoomAvatar {
id: avatar
@ -190,7 +191,4 @@ HTileDelegate {
readonly property QtObject lastEvent:
eventModel.count > 0 ? eventModel.get(0) : null
Behavior on opacity { HNumberAnimation {} }
}