Fix: Restore drag-and-drop in layers panel

This commit is contained in:
diodiogod
2026-02-02 23:15:08 -03:00
parent ab5d71597a
commit d44d944f2d
2 changed files with 24 additions and 28 deletions

View File

@@ -285,8 +285,6 @@ export class CanvasLayersPanel {
if (nameElement && nameElement.classList.contains('editing')) {
return;
}
// Prevent the layers panel from stealing focus
e.preventDefault();
this.handleLayerClick(e, layer, index);
});
// --- PRAWY PRZYCISK: ODJAZNACZ LAYER ---