Repository navigation
Commit f9b09a6
committed
fix(canvas): single hit-Rect at symbol Group level
The transparent click-target Rect lived inside the vector branch
only — D/E logo placeholders had no listenable element, so they
couldn't be selected by clicking on the canvas.
Hoist the Rect to the Group level so both branches share it. Both
visual branches (vector glyph + dashed-box placeholder) keep
listening={false}; the single Rect is the unambiguous hit area for
the whole field bbox.1 parent b52031a commit f9b09a6
1 file changed
Lines changed: 7 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
408 | 408 | | |
409 | 409 | | |
410 | 410 | | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
411 | 418 | | |
412 | 419 | | |
413 | 420 | | |
| |||
428 | 435 | | |
429 | 436 | | |
430 | 437 | | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | 438 | | |
439 | 439 | | |
440 | 440 | | |
| |||
470 | 470 | | |
471 | 471 | | |
472 | 472 | | |
473 | | - | |
474 | 473 | | |
475 | 474 | | |
476 | 475 | | |
| |||
0 commit comments