Skip to content

Commit cecd3b7

Browse files
committed
small fix
1 parent e8b061f commit cecd3b7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

FModel/Framework/ImGuiController.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ public ImGuiController(int width, int height)
5858

5959
IntPtr context = ImGui.CreateContext();
6060
ImGui.SetCurrentContext(context);
61-
IntPtr imguiCtx = ImGui.CreateContext();
62-
ImGui.SetCurrentContext(imguiCtx);
61+
ImGuizmo.SetImGuiContext(context);
6362

6463
var io = ImGui.GetIO();
6564
unsafe

0 commit comments

Comments
 (0)