kopia lustrzana https://github.com/Tldraw/Tldraw
oops logic was flipped
rodzic
1a6bf7f092
commit
1c57415d5e
|
@ -38,7 +38,7 @@ export class PointingShape extends StateNode {
|
|||
selectedShapeIds.includes(outermostSelectingShape.id) ||
|
||||
// ...or if the selected ancestor doesn't allow select on enter
|
||||
(selectedAncestor &&
|
||||
this.editor
|
||||
!this.editor
|
||||
.getShapeUtil(selectedAncestor)
|
||||
.canSelectChildOnPointerDownWhileSelected(selectedAncestor, outermostSelectingShape)) ||
|
||||
// ...or if the current point is NOT within the selection bounds
|
||||
|
|
Ładowanie…
Reference in New Issue