diff options
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); |