ImGui.NET icon indicating copy to clipboard operation
ImGui.NET copied to clipboard

MonoGame & FNA sample upgrade

Open morfah opened this issue 6 months ago • 0 comments

It's good to dispose ImGuiRenderer when unloading content. For example if the game use multiple game states which unload and loads content.

Also if you instantiated ImGuiRenderer again there would be multiple event handlers for text inputs, so I removed those in the Dispose too.

Enabled docking in BeforeLayout, otherwise you would get an cimgui assert error when you tried to use the docking feature.

Did some minor code cleanups.

morfah avatar Jun 04 '25 17:06 morfah