mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
WIP half-fix for group VN mode + movingUI
This commit is contained in:
@@ -232,10 +232,15 @@ async function visualNovelUpdateLayers(container) {
|
||||
|
||||
images.sort(sortFunction).each((index, current) => {
|
||||
const element = $(current);
|
||||
const elementID = element.attr('id')
|
||||
|
||||
// skip repositioning of dragged elements
|
||||
if (element.data('dragged')) {
|
||||
currentPosition += imagesWidth[index];
|
||||
if (element.data('dragged')
|
||||
|| (power_user.movingUIState[elementID]
|
||||
&& (typeof power_user.movingUIState[elementID] === 'object')
|
||||
&& Object.keys(power_user.movingUIState[elementID]).length > 0)) {
|
||||
loadMovingUIState()
|
||||
//currentPosition += imagesWidth[index];
|
||||
return;
|
||||
}
|
||||
|
||||
|
@@ -47,6 +47,7 @@
|
||||
filter: drop-shadow(2px 2px 2px #51515199);
|
||||
z-index: 2;
|
||||
overflow: hidden;
|
||||
resize: both;
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user