[fix] indicator not updating (#1696)
This PR fixes the indicator bug (https://github.com/orgs/tldraw/projects/16/views/1?pane=issue&itemId=32402403). ### Change Type - [x] `patch` — Bug fix
This commit is contained in:
parent
b5edaeb950
commit
5174d3f466
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ import { OptionalErrorBoundary } from './ErrorBoundary'
|
|||
class ShapeWithPropsEquality {
|
||||
constructor(public shape: TLShape | undefined) {}
|
||||
equals(other: ShapeWithPropsEquality) {
|
||||
return this.shape?.props === other?.shape?.props || this.shape?.meta === other?.shape?.meta
|
||||
return this.shape?.props === other?.shape?.props && this.shape?.meta === other?.shape?.meta
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue