Add support for moving object with transform gizmo when mouse moves outside the viewport during usage

This commit is contained in:
Wojtek Figat
2021-05-28 14:24:19 +02:00
parent 94ee82b58d
commit e41dfe738b
9 changed files with 57 additions and 4 deletions

View File

@@ -73,6 +73,9 @@ namespace FlaxEditor.Viewport
/// <inheritdoc />
public Undo Undo { get; }
/// <inheritdoc />
protected override bool IsControllingMouse => Gizmos.Active?.IsControllingMouse ?? false;
/// <inheritdoc />
protected override void AddUpdateCallbacks(RootControl root)
{