anki/ts/image-occlusion/tools
Abdo cc81db0f9d
Fix undo handling of group and some other IO tools (#2931)
* Fix undo handling of group and some other IO tools

* Emit change signal inside onObjectModified

* Fix group lost after moving group then undoing

* Skip undo entry if canvas has not changed

The onObjectModified() call I added in a previous commit to deleteDuplicateTools results in a duplicate undo entry for the delete tool. Checking for duplicate entries seems simpler than having to think about where onObjectModified() should be called exactly

* Fix extra undo entry added after ungroup
2024-01-09 11:19:46 +10:00
..
add-from-cloze.ts Add APIs for IO mask editing (#2758) 2023-10-22 10:40:40 +10:00
api.ts Indicate current occlusion type in pop-up menu (#2760) 2023-10-23 09:12:56 +10:00
from-shapes.ts Disable rotation globally 2023-10-25 09:23:47 +10:00
index.ts Add text tool to image occlusion (#2705) 2023-10-12 13:40:11 +10:00
lib.ts Fix undo handling of group and some other IO tools (#2931) 2024-01-09 11:19:46 +10:00
more-tools.ts fixes: remove unfinished shapes, remove selectable and make shapes remain inside canvas (#2809) 2023-11-24 14:06:40 +10:00
shortcuts.ts fix: shortcut update and shape corner transparent (#2847) 2023-11-25 16:05:45 +10:00
tool-aligns.ts Feature image occlusion (#2367) 2023-03-29 12:33:19 +10:00
tool-buttons.ts fixes: remove unfinished shapes, remove selectable and make shapes remain inside canvas (#2809) 2023-11-24 14:06:40 +10:00
tool-ellipse.ts fixes: remove unfinished shapes, remove selectable and make shapes remain inside canvas (#2809) 2023-11-24 14:06:40 +10:00
tool-polygon.ts fixes: remove unfinished shapes, remove selectable and make shapes remain inside canvas (#2809) 2023-11-24 14:06:40 +10:00
tool-rect.ts fixes: remove unfinished shapes, remove selectable and make shapes remain inside canvas (#2809) 2023-11-24 14:06:40 +10:00
tool-text.ts fix: shortcut update and shape corner transparent (#2847) 2023-11-25 16:05:45 +10:00
tool-undo-redo.ts Fix undo handling of group and some other IO tools (#2931) 2024-01-09 11:19:46 +10:00