Hey all,
I feel it would be useful to expose more of the TImeline window’s GUI functions. My goal was to add right click options to a custom track - but this menu is not exposed.
I tried to circumvent this by creating a MenuItem with a keyboard shortcut and validation restricting it to when the track was selected. When activated, it would open a GenericMenu at the mouse position. However, since OnGUI of the Timeline window is not exposed, I can’t hook into Event.Current.MousePosition - and thus can’t position the menu correctly.
Being able to add options to the menus and access Timeline’s built in conversion from screen space to Timeline space (seen when you create a clip at the mouse position) would go a long way. Might this happen in the future, or is there another solution?