mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-25 01:49:18 +01:00
The overloads taking a string by ref for the input text of the various ways to display a text box would all take the input string, copy it into a buffer for imgui and then unconditionally produce a new string once the imgui call returned. Now we only create a new string when the return value of the native function actually indicates that the text changed. This makes the GC happy, and also users like me who like to make the GC happy. Other side effects: The assumption that the reference doesn't change if the method returns false, which is very reasonable IMO, is now correct. |
||
|---|---|---|
| .. | ||
| Dalamud.Bindings.ImGui | ||
| Dalamud.Bindings.ImGuizmo | ||
| Dalamud.Bindings.ImPlot | ||
| ImGuiScene | ||
| StandaloneImGuiTestbed | ||