mirror of
https://github.com/logseq/logseq.git
synced 2026-05-30 07:29:48 +00:00
fix: update nonce on arrow position change
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
import { deepEqual } from '@tldraw/core'
|
||||
import { intersectRayBounds, TLBounds } from '@tldraw/intersect'
|
||||
import Vec from '@tldraw/vec'
|
||||
import { action, autorun, computed, makeObservable, observable, toJS, transaction } from 'mobx'
|
||||
@@ -264,7 +265,7 @@ export class TLPage<S extends TLShape = TLShape, E extends TLEventMap = TLEventM
|
||||
...fromDelta,
|
||||
}
|
||||
shapeChanged = true
|
||||
this.getShapeById(nextShape.id)?.update(nextShape, false, true)
|
||||
this.getShapeById(nextShape.id)?.update(nextShape, false, deepEqual(fromDelta?.handles, fromShape?.props.handles))
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user