Notice about the docking and enable it for an example

This commit is contained in:
SpaiR committed 2020-05-30 16:24:23 +03:00
1 parent 5458a03757
commit be66704967
2 files changed
+17 -8

No files matched your search

@@ -139,7 +139,7 @@ public final class ImGuiGlfwExample {
final ImGuiIO io = ImGui.getIO();
io.setIniFilename(null); // We don't want to save .ini file
io.setConfigFlags(ImGuiConfigFlags.NavEnableKeyboard); // Navigation with keyboard
io.setConfigFlags(ImGuiConfigFlags.NavEnableKeyboard | ImGuiConfigFlags.DockingEnable); // Navigation with keyboard and enabled docking
io.setBackendFlags(ImGuiBackendFlags.HasMouseCursors); // Mouse cursors to display while resizing windows etc.
io.setBackendPlatformName("imgui_java_impl_glfw");