mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
block mobile swipe gesture under fullscreen panels
This commit is contained in:
@@ -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');
|
||||||
|
Reference in New Issue
Block a user