From ee654e9217487f6fca12356ec8af82319c309592 Mon Sep 17 00:00:00 2001 From: Fox Caminiti Date: Tue, 7 Feb 2023 00:21:06 -0500 Subject: good changes --- src/imgui_ui_properties.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/imgui_ui_properties.cpp') diff --git a/src/imgui_ui_properties.cpp b/src/imgui_ui_properties.cpp index 43c4a79..345f612 100644 --- a/src/imgui_ui_properties.cpp +++ b/src/imgui_ui_properties.cpp @@ -21,6 +21,7 @@ ImGui_Properties_Slider(project_state *State, memory *Memory, property_channel * { if (ImGui::IsItemActive()) { State->UpdateFrame = true; + State->Interact_Transform = {}; // ImGui_WarpMouse(State, io.MousePos, WindowMinAbs, WindowMaxAbs, 1); } @@ -433,10 +434,12 @@ ImGui_PropertiesPanel(project_data *File, project_state *State, ui *UI, memory * block_composition *Comp = (block_composition *)Memory_Block_AddressAtIndex(Memory, F_Precomps, Layer->Block_Source_Index); ImGui::DragScalar("Width", ImGuiDataType_U16, &Comp->Width); if (ImGui::IsItemActive()) { + State->Interact_Transform = {}; State->UpdateFrame = true; } ImGui::DragScalar("Height", ImGuiDataType_U16, &Comp->Height); if (ImGui::IsItemActive()) { + State->Interact_Transform = {}; State->UpdateFrame = true; } } -- cgit v1.2.3