mirror of https://codeberg.org/pzp/zooboard.git
don't persist elements before they have been read from disk
This commit is contained in:
parent
d4e1cc8481
commit
633682db8a
|
@ -71,6 +71,7 @@ function App() {
|
|||
}
|
||||
|
||||
const updateElements = debounce((elems) => {
|
||||
if (excalidrawAPI) return
|
||||
const actions = []
|
||||
for (const elem of elems) {
|
||||
const oldVersion = elemsPersisted.get(elem.id)?.version ?? 0
|
||||
|
|
Loading…
Reference in New Issue