Commit 7b438de
authored
fix(Group): stop click event propagation to prevent selection reset (#65)
Clicking on a Group component triggered its selection logic, but the event propagated to the camera component, which resets all selections on click. This caused the group selection to be immediately cleared.
Added event.stopPropagation() to the Group's click listener to prevent the event from reaching the camera and preserve the selection state.1 parent d524d65 commit 7b438de
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
| |||
0 commit comments