Fix current account highlighting
This commit is contained in:
parent
7aa0e7fad6
commit
05325d21bd
3
TODO.md
3
TODO.md
|
@ -3,14 +3,13 @@
|
||||||
- add account number binds
|
- add account number binds
|
||||||
- rename goto*account → scrollto*account
|
- rename goto*account → scrollto*account
|
||||||
|
|
||||||
- fix up/down type error when filtering
|
|
||||||
- fix opacity
|
- fix opacity
|
||||||
- fix python error
|
|
||||||
- fix back/front buttons in small window
|
- fix back/front buttons in small window
|
||||||
- fix message delegate too tall
|
- fix message delegate too tall
|
||||||
- fix left rooms opacity
|
- 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 room out of bounds (above section) when filtering and only one match
|
||||||
|
|
||||||
- account delegates refactor
|
- account delegates refactor
|
||||||
- lag when switching accounts
|
- lag when switching accounts
|
||||||
|
|
|
@ -30,13 +30,10 @@ HColumnLayout {
|
||||||
id: accountList
|
id: accountList
|
||||||
clip: true
|
clip: true
|
||||||
currentIndex:
|
currentIndex:
|
||||||
roomList.currentIndex === -1 ?
|
roomList.count === 0 || roomList.currentIndex === -1 ?
|
||||||
-1 :
|
-1 :
|
||||||
model.filteredFindIndex(
|
model.findIndex(
|
||||||
roomList.model.filtered.get(
|
roomList.model.get(roomList.currentIndex).for_account, -1,
|
||||||
roomList.currentIndex,
|
|
||||||
).model.for_account,
|
|
||||||
-1,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
model: ModelStore.get("matching_accounts")
|
model: ModelStore.get("matching_accounts")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user