WIP half-fix for group VN mode + movingUI

This commit is contained in:
RossAscends
2023-07-19 21:26:28 +09:00
parent f5b4c6e10c
commit bd7c0463f3
2 changed files with 8 additions and 2 deletions

View File

@@ -232,10 +232,15 @@ async function visualNovelUpdateLayers(container) {
images.sort(sortFunction).each((index, current) => { images.sort(sortFunction).each((index, current) => {
const element = $(current); const element = $(current);
const elementID = element.attr('id')
// skip repositioning of dragged elements // skip repositioning of dragged elements
if (element.data('dragged')) { if (element.data('dragged')
currentPosition += imagesWidth[index]; || (power_user.movingUIState[elementID]
&& (typeof power_user.movingUIState[elementID] === 'object')
&& Object.keys(power_user.movingUIState[elementID]).length > 0)) {
loadMovingUIState()
//currentPosition += imagesWidth[index];
return; return;
} }

View File

@@ -47,6 +47,7 @@
filter: drop-shadow(2px 2px 2px #51515199); filter: drop-shadow(2px 2px 2px #51515199);
z-index: 2; z-index: 2;
overflow: hidden; overflow: hidden;
resize: both;
} }