oops logic was flipped

pull/3278/head
Lu[ke] Wilson 2024-03-27 11:28:47 +00:00
rodzic 1a6bf7f092
commit 1c57415d5e
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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