block mobile swipe gesture under fullscreen panels
This commit is contained in:
parent
88863262da
commit
42c73c8658
|
@ -906,7 +906,7 @@ export function initRossMods() {
|
||||||
if (power_user.gestures === false) {
|
if (power_user.gestures === false) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if ($(".mes_edit_buttons, #character_popup, #dialogue_popup, #WorldInfo").is(":visible")) {
|
if ($(".mes_edit_buttons, .drawer-content, #character_popup, #dialogue_popup, #WorldInfo, #right-nav-panel, #left-nav-panel, #select_chat_popup, #floatingPrompt").is(":visible")) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
var SwipeButR = $('.swipe_right:last');
|
var SwipeButR = $('.swipe_right:last');
|
||||||
|
@ -921,7 +921,7 @@ export function initRossMods() {
|
||||||
if (power_user.gestures === false) {
|
if (power_user.gestures === false) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if ($(".mes_edit_buttons, #character_popup, #dialogue_popup, #WorldInfo").is(":visible")) {
|
if ($(".mes_edit_buttons, .drawer-content, #character_popup, #dialogue_popup, #WorldInfo, #right-nav-panel, #left-nav-panel, #select_chat_popup, #floatingPrompt").is(":visible")) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
var SwipeButL = $('.swipe_left:last');
|
var SwipeButL = $('.swipe_left:last');
|
||||||
|
|
Loading…
Reference in New Issue