mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-25 09:59:18 +01:00
We now only create a new string if we either know the buffer changed or the EnterReturnsTrue flag was set (because that one does a LOT while still updating the buffer on every actual input), so I had to choose between replicating all that behavior in each of the various InputText methods (hell no, lol), scanning the buffer for actual changes (which would require making another copy) or accepting that in that case we would create a new string every frame. This still makes the GC happy in the majority of cases, while giving callers the option to take a slight performance hit for the convenience EnterReturnsTrue provides. |
||
|---|---|---|
| .. | ||
| Dalamud.Bindings.ImGui | ||
| Dalamud.Bindings.ImGuizmo | ||
| Dalamud.Bindings.ImPlot | ||
| ImGuiScene | ||
| StandaloneImGuiTestbed | ||