mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-01-19 00:07:17 +01:00
Reduce opacity of dragged page on multidrag not just single
This commit is contained in:
parent
9b6dcdcd06
commit
88079ddf7f
@ -29,7 +29,7 @@
|
||||
}
|
||||
|
||||
.drag-manager_dragging {
|
||||
opacity: 0.5;
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
|
||||
|
@ -41,6 +41,7 @@ class DragDropManager {
|
||||
const pageEl = document.getElementById(`page-container-${index}`);
|
||||
if (pageEl) {
|
||||
pageEl.initialTransform = pageEl.style.transform || 'translate(0px, 0px)';
|
||||
pageEl.classList.add('drag-manager_dragging');
|
||||
}
|
||||
return pageEl;
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user