kopia lustrzana https://github.com/Tldraw/Tldraw
[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 fixpull/1703/head
rodzic
b5edaeb950
commit
5174d3f466
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue