When docking windows together ImGui.Begin will return false for the tab that is not currently selected.
ImWindow.cs will call close in this case which in turn sets IsShown false, see:
https://github.com/HexaEngine/Hexa.NET.ImGui.Widgets/blob/main/Hexa.NET.ImGui.Widgets/ImWindow.cs#L80
Commenting/Removing that line fixes the issue. Windows still close correctly via IsShown and the following if checking/closing it.
When docking windows together ImGui.Begin will return false for the tab that is not currently selected.
ImWindow.cs will call close in this case which in turn sets IsShown false, see:
https://github.com/HexaEngine/Hexa.NET.ImGui.Widgets/blob/main/Hexa.NET.ImGui.Widgets/ImWindow.cs#L80
Commenting/Removing that line fixes the issue. Windows still close correctly via IsShown and the following if checking/closing it.