mirror of
https://github.com/ankitects/anki.git
synced 2026-01-13 22:13:58 -05:00
trigger save after modifying object
This commit is contained in:
parent
31d877f20d
commit
b2816dae23
1 changed files with 2 additions and 1 deletions
|
|
@ -4,7 +4,7 @@
|
|||
import { fabric } from "fabric";
|
||||
import { get } from "svelte/store";
|
||||
|
||||
import { opacityStateStore } from "../store";
|
||||
import { opacityStateStore, saveNeededStore } from "../store";
|
||||
import type { Size } from "../types";
|
||||
|
||||
export const SHAPE_MASK_COLOR = "#ffeba2";
|
||||
|
|
@ -244,6 +244,7 @@ const setShapePosition = (
|
|||
}
|
||||
|
||||
object.setCoords();
|
||||
saveNeededStore.set(true);
|
||||
};
|
||||
|
||||
export function enableUniformScaling(canvas: fabric.Canvas, obj: fabric.Object): void {
|
||||
|
|
|
|||
Loading…
Reference in a new issue