diff --git a/Editor/Translator.cpp b/Editor/Translator.cpp index a7910d480..67f649416 100644 --- a/Editor/Translator.cpp +++ b/Editor/Translator.cpp @@ -503,6 +503,14 @@ void Translator::Update(const CameraComponent& camera, const XMFLOAT4& currentMo dragging = true; } + if (isScalator || isRotator || isTranslator) + { + if (dragging) + { + PostTranslate(); + } + } + if (!wi::input::Down(wi::input::MOUSE_BUTTON_LEFT)) { if (dragging) @@ -511,9 +519,6 @@ void Translator::Update(const CameraComponent& camera, const XMFLOAT4& currentMo } dragging = false; } - - PostTranslate(); - } else {