World Selector&Editor Combined/Lockable/Swappable

This commit is contained in:
RossAscends
2023-05-15 09:27:03 +09:00
parent 817842737e
commit c3fe796059
6 changed files with 158 additions and 92 deletions

View File

@ -6220,6 +6220,7 @@ $(document).ready(function () {
'#shadow_popup',
'#world_popup',
'.ui-widget',
'.text_pole',
];
for (const id of forbiddenTargets) {
if (clickTarget.closest(id).length > 0) {
@ -6241,7 +6242,10 @@ $(document).ready(function () {
}
});
$(document).on('click', '.inline-drawer-toggle', function () {
$(document).on('click', '.inline-drawer-toggle', function (e) {
if ($(e.target).hasClass('text_pole')) {
return;
};
var icon = $(this).find('.inline-drawer-icon');
icon.toggleClass('down up');
icon.toggleClass('fa-circle-chevron-down fa-circle-chevron-up');