Adjustments for timeline editing UI

This commit is contained in:
Wojtek Figat
2021-08-23 16:51:17 +02:00
parent 5b52e76fc9
commit 79b7e76777
2 changed files with 15 additions and 1 deletions

View File

@@ -83,7 +83,18 @@ namespace FlaxEditor.GUI
{
_editor._mainPanel.ViewOffset += delta;
_movingViewLastPos = location;
Cursor = CursorType.SizeAll;
switch (_editor.EnablePanning)
{
case UseMode.Vertical:
Cursor = CursorType.SizeNS;
break;
case UseMode.Horizontal:
Cursor = CursorType.SizeWE;
break;
case UseMode.On:
Cursor = CursorType.SizeAll;
break;
}
}
return;