Debug Tools: ID Stack Tool: extracted code into a StackToolGetResultAsPath() function.

This commit is contained in:
ocornut
2025-11-13 16:15:00 +01:00
parent ec6219752d
commit 5a0c67c4b8
2 changed files with 33 additions and 29 deletions
+1 -1
View File
@@ -2140,7 +2140,7 @@ struct ImGuiIDStackTool
bool OptCopyToClipboardOnCtrlC;
float CopyToClipboardLastTime;
ImGuiTextBuffer ResultPathsBuf;
ImGuiTextBuffer ResultTempBuf;
ImGuiTextBuffer ResultFullPathBuf;
ImGuiIDStackTool() { memset(this, 0, sizeof(*this)); LastActiveFrame = -1; OptHexEncodeNonAsciiChars = true; CopyToClipboardLastTime = -FLT_MAX; }
};