Fix rotation using SDL
This commit is contained in:
@@ -77,7 +77,7 @@ namespace FlaxEditor.Viewport
|
|||||||
public bool SnapToVertex => ContainsFocus && Editor.Instance.Options.Options.Input.SnapToVertex.Process(Root);
|
public bool SnapToVertex => ContainsFocus && Editor.Instance.Options.Options.Input.SnapToVertex.Process(Root);
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public Float2 MouseDelta => _mouseDelta;
|
public Float2 MouseDelta => FlaxEngine.Input.MousePositionDelta;
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public bool UseSnapping => Root?.GetKey(KeyboardKeys.Control) ?? false;
|
public bool UseSnapping => Root?.GetKey(KeyboardKeys.Control) ?? false;
|
||||||
|
|||||||
Reference in New Issue
Block a user