Commit 9e63a86
authored
State orchestration bugs resolved (#706)
* The state machine will transition from selected to pressed only if it has a comp id
* Passed parent to removeHintOverlays because on selectEnd it did not get the parent reference
* If a user clicks outside a dropped component the state transitions to Ready.Idle
* Log statements used for debugging removed
* Used canvasZoneMapIds instead of an optional field to reduce exposure
---------
Co-authored-by: Jonathan Alvares <alvaresjonathan599@gmail.com>1 parent c754027 commit 9e63a86
File tree
3 files changed
+24
-7
lines changed- packages/atri-app-core/src
- editor-components
- CanvasOverlay/hooks
- VisualHints
3 files changed
+24
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
278 | 285 | | |
279 | 286 | | |
280 | 287 | | |
| |||
615 | 622 | | |
616 | 623 | | |
617 | 624 | | |
618 | | - | |
619 | | - | |
620 | | - | |
621 | | - | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
622 | 636 | | |
623 | 637 | | |
624 | 638 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| |||
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
| |||
0 commit comments