Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aerial HUD fixes + new mouse-hover highlights #3224

Merged
merged 5 commits into from
Jan 30, 2025

Conversation

ohlidalp
Copy link
Member

@ohlidalp ohlidalp commented Jan 29, 2025

Fixes #3216 - Airplane dashboard not reacting to mouse.

Fixed the chatbox obstructing bottom area of the aerial HUD, even if not open for input.

Fixed throttles sliders slipping off mouse cursor when you make a quicker move.

Additional goodie: I've added a mouse hover highlights to all elements which are interactable by mouse.
aeroThrottleHover

_problem: _
wrong viewport dimensions used when calculating relative mouse position to query for overlay element.
Broken in RigsOfRods#3184. Before that, we queried both mouse position and viewport dimensions directly from OIS.
I had to change that because of OIS bug, and now the dimension values are not updated correctly.

_solution:_
Minimum viable fix - just keep the same dummy OIS event, just update the viewport dimensions.
@ohlidalp ohlidalp changed the title Aerial HUD fixes Aerial HUD fixes + new mouse-hover highlights Jan 30, 2025
Copy link
Member

@CuriousMike56 CuriousMike56 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UI highlights are very nice 👍

@ohlidalp ohlidalp merged commit 1cbf91f into RigsOfRods:master Jan 30, 2025
2 checks passed
@ohlidalp ohlidalp deleted the aeroHUD branch January 30, 2025 23:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Airplane dashboard mouse control
2 participants