Fix Room delegate opacity for left rooms
This commit is contained in:
parent
82c8496216
commit
eacee59f9e
2
TODO.md
2
TODO.md
|
@ -2,9 +2,7 @@
|
||||||
|
|
||||||
- add account number binds
|
- add account number binds
|
||||||
- revise pane collapse mode
|
- revise pane collapse mode
|
||||||
- bring back account collapsing
|
|
||||||
|
|
||||||
- fix left rooms opacity
|
|
||||||
- fix escape keybinds (filter rooms, message selection)
|
- fix escape keybinds (filter rooms, message selection)
|
||||||
- fix python getting stuck when loading large room
|
- fix python getting stuck when loading large room
|
||||||
- fix accounts in room list not getting their profile updated if mirage starts
|
- fix accounts in room list not getting their profile updated if mirage starts
|
||||||
|
|
|
@ -12,11 +12,12 @@ HTileDelegate {
|
||||||
backgroundColor: theme.mainPane.listView.room.background
|
backgroundColor: theme.mainPane.listView.room.background
|
||||||
leftPadding: theme.spacing * 2
|
leftPadding: theme.spacing * 2
|
||||||
rightPadding: theme.spacing
|
rightPadding: theme.spacing
|
||||||
opacity:
|
|
||||||
model.left ? theme.mainPane.listView.room.leftRoomOpacity : 1
|
|
||||||
|
|
||||||
contentItem: ContentRow {
|
contentItem: ContentRow {
|
||||||
tile: room
|
tile: room
|
||||||
|
opacity: model.left ? theme.mainPane.listView.room.leftRoomOpacity : 1
|
||||||
|
|
||||||
|
Behavior on opacity { HNumberAnimation {} }
|
||||||
|
|
||||||
HRoomAvatar {
|
HRoomAvatar {
|
||||||
id: avatar
|
id: avatar
|
||||||
|
@ -190,7 +191,4 @@ HTileDelegate {
|
||||||
|
|
||||||
readonly property QtObject lastEvent:
|
readonly property QtObject lastEvent:
|
||||||
eventModel.count > 0 ? eventModel.get(0) : null
|
eventModel.count > 0 ? eventModel.get(0) : null
|
||||||
|
|
||||||
|
|
||||||
Behavior on opacity { HNumberAnimation {} }
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user