DrawList: skip PathLineTo/PathStroke calls for common AddLine(), AddLineH(), AddLineV() functions. (#4091)

This commit is contained in:
ocornut
2026-05-28 15:37:29 +02:00
parent 783eba926f
commit 33bb693b4c
2 changed files with 8 additions and 9 deletions

View File

@@ -55,6 +55,8 @@ Other Changes:
- Fonts:
- Added `IMGUI_DISABLE_DEFAULT_FONT_BITMAP`/`IMGUI_DISABLE_DEFAULT_FONT_VECTOR` to
disable embedding either fonts separately. (#9407)
- DrawList:
- Minor optimization to AddLine(), AddLineH(), AddLineV() functions. (#4091)
- Demo:
- Extract 'Widgets->Tree Nodes->Selectable Nodes' out of the 'Advanced'
demo for clarity (manual reimplementation of basic selection).