block mobile swipe gesture under fullscreen panels

This commit is contained in:
RossAscends 2023-11-15 19:20:05 +09:00
parent 88863262da
commit 42c73c8658
1 changed files with 2 additions and 2 deletions

View File

@ -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');