panes toggleFocus(): more reliable focus detection
This commit is contained in:
parent
70f67f01ac
commit
e33c202376
|
@ -26,7 +26,7 @@ HDrawer {
|
|||
|
||||
|
||||
function toggleFocus() {
|
||||
if (bottomBar.filterField.activeFocus) {
|
||||
if (mainPane.activeFocus) {
|
||||
pageLoader.takeFocus()
|
||||
return
|
||||
}
|
||||
|
|
|
@ -57,7 +57,7 @@ MultiviewPane {
|
|||
|
||||
|
||||
function toggleFocus() {
|
||||
if (swipeView.currentItem.keybindFocusItem.activeFocus) {
|
||||
if (roomPane.activeFocus) {
|
||||
if (roomPane.collapse) roomPane.close()
|
||||
pageLoader.takeFocus()
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue
Block a user