Releases: goncasmage1/UINavigation
Hotfix
This release fixes a crash related to the OnHorizCompUpdated and inconsistent button style switching.
OnSelect event rework
This release reworks the way the OnSelect event is handled in order to add suport for the OnRelease event:
- It fixes an issue with the OnSelect event not always firing
- It adds support for using the Button's OnReleased event when using the gamepad or keyboard
- It adds the OnStartSelect and OnStopSelect event, which are equivalent to the OnPressed and OnReleased events respectively
- It fixes the fact that the OnHorizCompUpdated event wasn't always called
General Hotfix
This release puts out a few fixes:
- Fix input remappings not being saved properly
- Fix menus in the Content folder not receiving OnSelect event
- Fix Video Settings in Options Menu not being applied
- Fix OnHorizCompUpdated event not being called with mouse click
- Fix changing Scalability in Options Menu
OnSelect event hacky hotfix
The OnSelect event stopped working all of a sudden for reasons that (so far) are beyond my control.
However, I've added a bUseClickEventForSelect boolean to the UINavWidget. Setting this to true in the Widget's Class Defaults tab will fix that issue.
Input Container overhaul
This release overhauls the Input Container widget:
- Adds full axis rebinding support
- Adds support for localization
- Adds more control over input collisions through context specific actions
- Adds option to allow the user to swap keys between actions instead of cancelling rebinding
It also:
- Fixes UINavWidget's OnKeyDown event returning ReplyHandled when no action was executed
GetIndexFromButtonIndex hotfix
This release fixes the return value of the GetGridIndexFromButtonIndex and GetIndexInGridFromButtonIndex nodes.
Events improvement
This release adds:
-
A FirstSetup boolean to the PreSetup event, that indicates whether this is the first time the PreSetup event is called since this widget was created.
-
An OnHorizCompUpdated event which replaces the existing OnHorizCompNavigateLeft/Right events and gets called when a HorizontalComponent gets updated.
Events update
This release adds:
- The OnSelected event to the UINavComponent
- Support for the OnClicked, OnPressed, OnHovered and OnUnhovered event while using the plugin
MenuNext and MenuPrevious actions
This release adds a MenuNext and MenuPrevious action to the plugin.
UINavWidgets now have an OnNext and OnPrevious event, mainly used for when you want to navigate between sections of a menu.
This release also:
- Fixes a bug in the Clear Grid function
- Allows fullscreen when using a UINavWidget
- Fixes duplicated OnPressed sound playing when using the mouse
- Fixes an issue with UINavCollection OnNavigate events not being called properly
- Fixes Input icons from data table not being displayed in the Input Container
Auto-Navigation
This release allows you to disable navigation input in such a way that you can navigate the widget automatically.
It also fixes a crash related to pressing the MenuSelect action when no buttons are in the widget.