Tweaks and improvements for curves editing

#519
This commit is contained in:
Wojtek Figat
2021-08-04 16:35:19 +02:00
parent 41b7897857
commit fc8c8b5c25
7 changed files with 98 additions and 72 deletions

View File

@@ -172,6 +172,15 @@ namespace FlaxEngine.GUI
base.SetViewOffset(ref value);
}
/// <summary>
/// Cuts the scroll bars value smoothing and imminently goes to the target scroll value.
/// </summary>
public void FastScroll()
{
HScrollBar?.FastScroll();
VScrollBar?.FastScroll();
}
/// <summary>
/// Scrolls the view to the given control area.
/// </summary>