Move options out of VisjectSurface.Input to a different place.

This commit is contained in:
Menotdan
2023-09-17 16:50:02 -04:00
parent e38da7eb95
commit 5571430e1b
2 changed files with 6 additions and 11 deletions

View File

@@ -30,6 +30,12 @@ namespace FlaxEditor.Surface
/// </summary>
protected SurfaceRootControl _rootControl;
/// <summary>
/// Is grid snapping enabled for this surface?
/// </summary>
public bool GridSnappingEnabled = false;
private readonly float _gridSize = 15f;
private float _targetScale = 1.0f;
private float _moveViewWithMouseDragSpeed = 1.0f;
private bool _canEdit = true;