-
- Downloads
[editor] Fix element deletion via Delete key
This is now done via listener directly on the element overlay. The overlay's div is made selectable with 'tabindex'. Then the key event is caught and delete logic started. The actual logic did not change and still deletes all selected elements not just the one catching the delete key event.
Showing
- projects/editor/src/app/components/unit-view/page-view/canvas/canvas-element-overlay.ts 1 addition, 22 deletions...ents/unit-view/page-view/canvas/canvas-element-overlay.ts
- projects/editor/src/app/components/unit-view/page-view/canvas/static-canvas-overlay.component.ts 18 additions, 0 deletions...-view/page-view/canvas/static-canvas-overlay.component.ts
Please register or sign in to comment