Add minor UI improvements for timeline and curves editing

This commit is contained in:
Wojtek Figat
2021-09-20 16:54:11 +02:00
parent 38fad38b0c
commit f547e44d3d
4 changed files with 9 additions and 9 deletions

View File

@@ -480,6 +480,7 @@ namespace FlaxEditor.GUI
cm.AddButton(totalSelectionCount == 1 ? "Copy keyframe" : "Copy keyframes", () => _editor.CopyKeyframes(point));
}
cm.AddButton("Paste keyframes", () => KeyframesEditorUtils.Paste(_editor, point?.Time ?? _cmShowPos.X)).Enabled = KeyframesEditorUtils.CanPaste();
cm.AddSeparator();
cm.AddButton("Edit all keyframes", () => _editor.EditAllKeyframes(this, location));
cm.AddButton("Select all keyframes", _editor.SelectAll);
cm.AddButton("Copy all keyframes", () =>