@@ -70,10 +70,10 @@ namespace FlaxEditor.Viewport
|
|||||||
public bool IsControlDown => _input.IsControlDown;
|
public bool IsControlDown => _input.IsControlDown;
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public bool SnapToGround => Editor.Instance.Options.Options.Input.SnapToGround.Process(Root);
|
public bool SnapToGround => ContainsFocus && Editor.Instance.Options.Options.Input.SnapToGround.Process(Root);
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public bool SnapToVertex => 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 * 1000;
|
public Float2 MouseDelta => _mouseDelta * 1000;
|
||||||
|
|||||||
@@ -288,7 +288,7 @@ namespace FlaxEditor.Viewport
|
|||||||
public bool SnapToGround => false;
|
public bool SnapToGround => false;
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public bool SnapToVertex => 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 * 1000;
|
public Float2 MouseDelta => _mouseDelta * 1000;
|
||||||
|
|||||||
Reference in New Issue
Block a user