Fix mouse jittering when pressing both mouse buttons simultaneously

This commit is contained in:
stefnotch
2021-02-21 11:27:18 +01:00
parent 8fe656b88f
commit 74d4bb8dc6
+1 -1
View File
@@ -1140,7 +1140,7 @@ namespace FlaxEditor.Viewport
UpdateView(dt, ref moveDelta, ref mouseDelta, out _);
}
}
if (_input.IsMouseLeftDown)
if (_input.IsMouseLeftDown && false)
{
// Calculate smooth mouse delta not dependant on viewport size
Vector2 offset = _viewMousePos - _startPos;