Keys.Account.AtIndex binds: don't focus 1st room
Go to the corresponding account settings instead of trying to focus the
first room of the target account if there is one.
This makes the behavior consistent across expanded and collapsed
accounts, and with the Keys.Account.(previous/next) keybinds that
were changed to work in this way in commit
4f4bc90faa
.
This commit is contained in:
parent
806983db93
commit
57a7b567ca
|
@ -48,12 +48,7 @@ HListView {
|
|||
}
|
||||
|
||||
function goToAccountNumber(num) {
|
||||
const index = Object.entries(accountIndice)[num][1]
|
||||
|
||||
model.get(index + 1).type === "Room" ?
|
||||
currentIndex = index + 1 :
|
||||
currentIndex = index
|
||||
|
||||
currentIndex = Object.entries(accountIndice)[num][1]
|
||||
showItemLimiter.restart()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user