anki/ts/image-occlusion
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
..
notes-toolbar Experiment with disabling prettier whitespace sensitivity 2023-06-01 11:11:26 +10:00
shapes Fix IO note count (#2884) 2023-12-10 12:55:47 +10:00
tools Fix undo handling of group and some other IO tools (#2931) 2024-01-09 11:19:46 +10:00
add-or-update-note.ts Combine all backend methods into a single js/d.ts file, like in Python 2023-07-03 13:46:38 +10:00
canvas-scale.ts Various changes to I/O handling (#2513) 2023-05-31 13:45:12 +10:00
icons.ts Add text tool to image occlusion (#2705) 2023-10-12 13:40:11 +10:00
image-occlusion-base.scss Add scss formatter 2023-07-03 09:44:38 +10:00
ImageOcclusionPage.svelte fix: enable keyboard in mobile io note editor (#2916) 2023-12-28 18:00:07 +10:00
ImageOcclusionPicker.svelte Refactor IO image pickers into separate component (#2710) 2023-10-10 13:26:20 +10:00
index.ts Add tooltips for image occlusions 2023-10-23 12:03:22 +10:00
lib.ts Migrate to protobuf-es (#2547) 2023-06-14 22:47:37 +10:00
mask-editor.ts add padding to control corner to shapes (#2919) 2024-01-01 14:08:24 +10:00
MaskEditor.svelte fix: shortcut update and shape corner transparent (#2847) 2023-11-25 16:05:45 +10:00
Notes.svelte image occlusion button in note editor (#2485) 2023-07-27 22:45:49 +10:00
review.scss Add scss formatter 2023-07-03 09:44:38 +10:00
review.ts Fix some issues with toggle mask shortcut 2023-12-11 14:02:19 +10:00
StickyFooter.svelte Fix "Add" button showing when editing I/O note; hide toast 2023-09-19 14:19:51 +10:00
store.ts fix: shortcut update and shape corner transparent (#2847) 2023-11-25 16:05:45 +10:00
Tags.svelte fix image height issues in iOS safari (#2480) 2023-04-26 16:01:04 +10:00
Toast.svelte Fix "Add" button showing when editing I/O note; hide toast 2023-09-19 14:19:51 +10:00
Toolbar.svelte Fix undo handling of group and some other IO tools (#2931) 2024-01-09 11:19:46 +10:00
tsconfig.json Various changes to I/O handling (#2513) 2023-05-31 13:45:12 +10:00
types.ts Various changes to I/O handling (#2513) 2023-05-31 13:45:12 +10:00