Draggable VN sprites. Fix layering

This commit is contained in:
Cohee
2023-06-04 16:32:45 +03:00
parent a273fcb593
commit 3cfec828ef
5 changed files with 24 additions and 7 deletions

View File

@ -9,6 +9,8 @@ import {
getRequestHeaders,
substituteParams,
updateVisibleDivs,
eventSource,
event_types,
} from "../script.js";
import { favsToHotswap } from "./RossAscends-mods.js";
import {
@ -836,6 +838,9 @@ function resetMovablePanels() {
document.getElementById("WorldInfo").style.height = '';
document.getElementById("WorldInfo").style.width = '';
document.getElementById("WorldInfo").style.margin = '';
$('*[data-dragged="true"]').removeAttr('data-dragged');
eventSource.emit(event_types.MOVABLE_PANELS_RESET);
}
$(document).ready(() => {