functional undo-redo

This commit is contained in:
vcoppe
2024-04-30 22:35:54 +02:00
parent 667c94a4c4
commit f24a7ba427
7 changed files with 118 additions and 40 deletions

View File

@@ -9,9 +9,9 @@
import { _ } from 'svelte-i18n';
import type { GPXFile } from 'gpx';
import type { Immutable } from 'immer';
import type { FreezedObject } from 'structurajs';
export let file: Writable<Immutable<GPXFile>> | undefined;
export let file: Writable<FreezedObject<GPXFile>> | undefined;
</script>
<!-- svelte-ignore a11y-no-static-element-interactions -->