mirror of
https://gitgud.io/AbstractConcept/rimworld-animation-studio.git
synced 2024-08-15 00:43:27 +00:00
15 lines
441 B
C#
15 lines
441 B
C#
using UnityEditor.IMGUI.Controls;
|
|
using UnityEngine;
|
|
|
|
namespace UnityEditor.Timeline.Signals
|
|
{
|
|
class SignalReceiverHeader : MultiColumnHeader
|
|
{
|
|
public SignalReceiverHeader(MultiColumnHeaderState state) : base(state) {}
|
|
|
|
protected override void AddColumnHeaderContextMenuItems(GenericMenu menu)
|
|
{
|
|
menu.AddItem(EditorGUIUtility.TrTextContent("Resize to Fit"), false, ResizeToFit);
|
|
}
|
|
}
|
|
}
|