mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-20 01:34:20 +00:00
Examples: Enabled Docking + Nav by default in the branch. (#351)
This commit is contained in:
parent
e381f22ac1
commit
49533bc86e
14 changed files with 34 additions and 17 deletions
|
|
@ -335,7 +335,8 @@ int main(int, char**)
|
|||
// Setup ImGui binding
|
||||
ImGui::CreateContext();
|
||||
ImGuiIO& io = ImGui::GetIO(); (void)io;
|
||||
//io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard; // Enable Keyboard Controls
|
||||
io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard; // Enable Keyboard Controls
|
||||
io.ConfigFlags |= ImGuiConfigFlags_DockingEnable; // Enable Docking
|
||||
|
||||
// Setup SDL binding
|
||||
ImGui_ImplSDL2_InitForVulkan(window);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue