
Fixed Localization.DoesTextExist/GetText not working correctly in b2372 ( #130).Can be used with Rage.Blip and Rage.BlipSprite:.Used to get token string needed to display the blip sprite inlined in formatted scaleform text.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 CRASHING ON STARTUP 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. Refactored Draw() function to render correctly as a submenu item. Added dynamic resizing of mission logo texture to support various aspect ratios. Added optional dynamic scaling of mission info area based on screen size and text length in item labels. Various pause menu enhancements ( #141, #144, thanks to Improvements to TabMissionSelectItem:.