Commit 2cd18d6
authored
docs(examples): update stale indicator comments after OverlayUtil migration (tldraw#8727)
## Summary
After tldraw#8633 migrated shape indicators from JSX/SVG to canvas-rendered
Path2Ds via `getIndicatorPath`, several example files still had
explanatory comments describing indicators as "returning JSX". The code
is correct; only the prose was stale.
This PR updates the comments in:
- `configuration/only-editor/MiniBoxShape.tsx`
- `shapes/tools/custom-shape/CustomShapeExample.tsx`
- `shapes/tools/shape-with-geometry/ShapeWithGeometry.tsx`
- `shapes/tools/shape-with-onClick/ClickableShapeUtil.tsx`
- `shapes/tools/custom-config/CardShape/CardShapeUtil.tsx`
-
`shapes/tools/bounds-snapping-shape/PlayingCardShape/playing-card-util.tsx`
### Change type
- [ ] bugfix
- [ ] improvement
- [ ] feature
- [ ] api
- [x] other
### Release notes
- Docs only — no release note needed.1 parent 03c4c61 commit 2cd18d6
6 files changed
Lines changed: 13 additions & 9 deletions
File tree
- apps/examples/src/examples
- configuration/only-editor
- shapes/tools
- bounds-snapping-shape/PlayingCardShape
- custom-config/CardShape
- custom-shape
- shape-with-geometry
- shape-with-onClick
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
| 68 | + | |
| 69 | + | |
70 | 70 | | |
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
150 | | - | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
151 | 152 | | |
152 | 153 | | |
153 | 154 | | |
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
| 147 | + | |
147 | 148 | | |
148 | 149 | | |
149 | 150 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
150 | | - | |
| 149 | + | |
| 150 | + | |
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
| 158 | + | |
| 159 | + | |
159 | 160 | | |
160 | 161 | | |
161 | 162 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
| 113 | + | |
113 | 114 | | |
0 commit comments