This pull request includes several improvements to the Mouse Steering UI and related functionality. The changes enhance the user interface, add new controls, and refine existing methods for better performance and readability.
data/gui/guiProfiles.xml: Added a new profile for the keyboard controls button and adjusted sizes for various dialog elements to improve UI consistency. [1][2]
Code Enhancements:
src/gui/MouseSteeringMenu.lua: Fixed a bug in the setData function to correctly display the deadzone value. Added a new function onClickOpenPageSettingsControls to handle opening the settings page for controls. [1][2]
This pull request includes several improvements to the Mouse Steering UI and related functionality. The changes enhance the user interface, add new controls, and refine existing methods for better performance and readability.
User Interface Enhancements:
data/gui/MouseSteeringMenu.xml
: Added a new section for keyboard controls with a button to open the settings page.data/gui/dialogs/MouseSteeringVehiclesDialog.xml
: Adjusted the size of the vehicle name header to better fit the layout.Profile Adjustments:
data/gui/guiProfiles.xml
: Added a new profile for the keyboard controls button and adjusted sizes for various dialog elements to improve UI consistency. [1] [2]Code Enhancements:
src/gui/MouseSteeringMenu.lua
: Fixed a bug in thesetData
function to correctly display the deadzone value. Added a new functiononClickOpenPageSettingsControls
to handle opening the settings page for controls. [1] [2]src/gui/dialogs/MouseSteeringVehiclesDialog.lua
: Refactored theisValidVehicle
method for better readability and performance.