mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-01 18:37:41 +01:00
Fix possible background swipe gestures on popups
This commit is contained in:
parent
7cba747c52
commit
2db344538e
@ -902,6 +902,9 @@ export function initRossMods() {
|
||||
if (power_user.gestures === false) {
|
||||
return;
|
||||
}
|
||||
if (Popup.util.isPopupOpen()) {
|
||||
return;
|
||||
}
|
||||
if ($('.mes_edit_buttons, .drawer-content, #character_popup, #dialogue_popup, #WorldInfo, #right-nav-panel, #left-nav-panel, #select_chat_popup, #floatingPrompt').is(':visible')) {
|
||||
return;
|
||||
}
|
||||
@ -917,6 +920,9 @@ export function initRossMods() {
|
||||
if (power_user.gestures === false) {
|
||||
return;
|
||||
}
|
||||
if (Popup.util.isPopupOpen()) {
|
||||
return;
|
||||
}
|
||||
if ($('.mes_edit_buttons, .drawer-content, #character_popup, #dialogue_popup, #WorldInfo, #right-nav-panel, #left-nav-panel, #select_chat_popup, #floatingPrompt').is(':visible')) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user