summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/main.cpp b/main.cpp
index e880d8c..739ed17 100644
--- a/main.cpp
+++ b/main.cpp
@@ -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);