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