anki/ts/image-occlusion
Hikaru Y bea4307d78
Another approach to preventing selected shapes from shifting (#2735)
* Revert "Fix selected shapes shifting to canvas origin"

This reverts commit d81b96fed0adb7db2fb9847c52d7cb73f83b4b32.

This introduced a regression where the selection of objects was cleared
when it should not have been. For example, if multiple objects were
selected and the mouse was released while moving them around, the
selection would be cleared.

* Another approach to preventing selected shapes from shifting

Prevent fabric objects from shifting to the wrong position when the
active selection contains multiple objects by calculating their
coordinates relative to the canvas, as in the case of the fabric.Group.
2023-10-15 10:11:23 +10:00
..
notes-toolbar Experiment with disabling prettier whitespace sensitivity 2023-06-01 11:11:26 +10:00
shapes Another approach to preventing selected shapes from shifting (#2735) 2023-10-15 10:11:23 +10:00
tools Fix selected shapes shifting to canvas origin (#2729) 2023-10-13 09:58:43 +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 "Add" button showing when editing I/O note; hide toast 2023-09-19 14:19:51 +10:00
ImageOcclusionPicker.svelte Refactor IO image pickers into separate component (#2710) 2023-10-10 13:26:20 +10:00
index.ts image occlusion button in note editor (#2485) 2023-07-27 22:45:49 +10:00
lib.ts Migrate to protobuf-es (#2547) 2023-06-14 22:47:37 +10:00
mask-editor.ts Add text tool to image occlusion (#2705) 2023-10-12 13:40:11 +10:00
MaskEditor.svelte Fix some issues with undo/redo in mask editor (#2649) 2023-09-10 13:26:41 +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 Change IO text background color to white (#2726) 2023-10-13 08:49:31 +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 follow-up pr for io button in note editor (#2600) 2023-07-31 14:24:26 +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 Add text tool to image occlusion (#2705) 2023-10-12 13:40:11 +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