
Added BlipExtensions.GetIconToken extension method ( #133):.Now the value must be -1 or in the range [0, MenuItems.Count), otherwise it throws ArgumentOutOfRangeException.
#Rage plugin hook wont start code#
BREAKING CHANGE: UIMenu.CurrentSelection no longer wraps around, so code like CurrentSelection++/ CurrentSelection- will not wrap around and select the first/last item when it reaches >= MenuItems.Count/ UIMenu.CurrentSelection = -1 indicates this state.When there is no selection, the navigation bar will not be drawn.Added support for 'no selection' state in UIMenu with items:.If all items are skipped, UIMenu.CurrentSelection will be set to -1. When a skipped item is selected, the selection will jump to the next non-skipped item.Use UIMenuItem.Skipped = true to make the item skippable.Added support for skippable UIMenuItems ( #85):.Fixed Sprite.DrawTexture drawing at incorrect screen positions on multi-monitor setups.Īvailable on NuGet.Support scrolling through multiple sub-items with acceleration from a single press.Fixed bug that occurs when an interactive menu or mission select menu is focused in a submenu, and the user navigates away using LB/RB.Dynamic scrolling when more items are available than fit on the screen.Fixed texture rendering when using Rage.Graphics to render outside texture files (texture alignment was previously incorrect).Updated examples to demonstrate these new capabilities.

