diff options
author | Fox Caminiti <fox@foxcam.net> | 2022-11-28 15:03:08 -0500 |
---|---|---|
committer | Fox Caminiti <fox@foxcam.net> | 2022-11-28 15:03:08 -0500 |
commit | 6eb627210eb2b77bcde7ca75d9bcb5b50d240f64 (patch) | |
tree | 29f616b0a1997b3a8db39c3d7f590717636148dc /main.cpp | |
parent | 0047b9ffc06d65f53d8101c5393f4943c1011c03 (diff) |
recursion improvements
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -176,15 +176,15 @@ Main_InputTest(project_data *File, project_state *State, memory *Memory, ui *UI, } #endif - if (State->FocusedWindow == focus_viewport && State->SetFocus) { - ImGui::SetNextWindowFocus(); - State->SetFocus = false; - } + // if (State->FocusedWindow == focus_viewport && State->SetFocus) { + // ImGui::SetNextWindowFocus(); + // State->SetFocus = false; + // } ImGui_Viewport(File, State, UI, Memory, io, textureID, Sorted.CompArray, Sorted.LayerArray, Sorted.PropertyArray); - if (State->FocusedWindow == focus_timeline && State->SetFocus) { - ImGui::SetNextWindowFocus(); - State->SetFocus = false; - } + // if (State->FocusedWindow == focus_timeline && State->SetFocus) { + // ImGui::SetNextWindowFocus(); + // State->SetFocus = false; + // } ImGui_Timeline(File, State, Memory, UI, io, Sorted.CompArray, Sorted.LayerArray, Sorted.PropertyInfo, Sorted.PropertyArray); ImGui_File(File, State, Memory, io, Sorted.CompArray, Sorted.LayerArray); ImGui_PropertiesPanel(File, State, UI, Memory, io, Sorted.PropertyArray); |