[UI] Fixed issue with multiple ImGui windows having the same ID
This commit is contained in:
@@ -49,7 +49,7 @@ class ImGuiDialog {
|
||||
virtual void OnDraw(ImGuiIO& io) {}
|
||||
|
||||
private:
|
||||
static uint64_t next_window_id_;
|
||||
static std::atomic<uint64_t> next_window_id_;
|
||||
|
||||
ImGuiDrawer* imgui_drawer_ = nullptr;
|
||||
bool has_close_pending_ = false;
|
||||
|
||||
Reference in New Issue
Block a user