[fix] pointer location not updating when moving over editing shape (#1378)
This PR is entirely unrelated to https://github.com/tldraw/tldraw/pull/1352. ### Change Type - [x] `minor` — New Feature ### Release Notes - Fix a bug where the pointer location would not update when moving the pointer over an editing shape.
This commit is contained in:
parent
5cc04ef2fd
commit
72f6b91d2b
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ const pointerEventHandler = (
|
|||
capturedPointerIdLookup: Set<string>
|
||||
) => {
|
||||
return (e: React.PointerEvent) => {
|
||||
if (app.pageState.editingId === shapeId) (e as any).isKilled = true
|
||||
if (name !== 'pointer_move' && app.pageState.editingId === shapeId) (e as any).isKilled = true
|
||||
if ((e as any).isKilled) return
|
||||
|
||||
let pointerInfo = getPointerInfo(e, app.getContainer())
|
||||
|
|
Loading…
Reference in a new issue