Skip to content

Commit 6ea322e

Browse files
committed
Fix permalinks again
1 parent 93dc8bc commit 6ea322e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -775,11 +775,11 @@ While you can compose existing React components together, Dear ImGui's real powe
775775
**How custom widgets work:**
776776

777777
1. **Add a render function** in [`lib/imgui-unit/renderer.js`](lib/imgui-unit/renderer.js) that uses ImGui's draw list API
778-
2. **Add a case** to the switch statement in [`renderNode()`](a86e558b6ea712179d955f04a6ec17493b18953a/lib/imgui-unit/renderer.js#L785)
778+
2. **Add a case** to the switch statement in [`renderNode()`](https://github.com/tmikov/imgui-react-runtime/blob/93dc8bc8218bacdffa35b59ac2ca6b103a7892ed/lib/imgui-unit/renderer.js#L785)
779779
3. **Use `_igDummy()`** to reserve layout space for your custom drawing
780780
4. **Handle mouse interaction** using `_igGetMousePos()` and `_igIsMouseClicked_Bool()`
781781

782-
**Example: RadialMenu** ([`lib/imgui-unit/renderer.js:607-752`](a86e558b6ea712179d955f04a6ec17493b18953a/lib/imgui-unit/renderer.js#L607-L752)
782+
**Example: RadialMenu** ([`lib/imgui-unit/renderer.js:607-752`](https://github.com/tmikov/imgui-react-runtime/blob/93dc8bc8218bacdffa35b59ac2ca6b103a7892ed/lib/imgui-unit/renderer.js#L603-L761)
783783

784784
```javascript
785785
function renderRadialMenu(node: any, vec2: c_ptr): void {

0 commit comments

Comments
 (0)