-
-
Notifications
You must be signed in to change notification settings - Fork 347
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
fix(color): Scale SF backlight value to user selected min/max backlight values #4060
Conversation
Updated the radio setup UI for backlight so that the ON slider can't go below the OFF value and the OFF slider can't go above the ON value. |
Damnit... this collided with #4125 🤣 |
Give me a little while to rebase things that might be affected by the recent merges. |
02de70a
to
9866ba4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, that seems to be working ok on TX16S, and is keeping the brightness SF within the bounds of the ON and OFF brightness sliders. Backlight can no longer jump to a higher brightness level when the inactivity timer kicks in.
Sorry I have to step in this discussion because I just jumped from 2.8.4 to 2.9.2 and can state that there actually is a flaw with backlight settings... Video here: https://drive.google.com/file/d/1dN6nbhgr7uitGb2rNAhHY7WyRpRaQqh8/view?usp=sharing |
The changes in this PR are not included in 2.9.x. |
Fixes #4057
Restrict the backlight value selected via the special function to lie between the user selected values for 'ON brightness' and 'OFF brightness' values.
When using a pot/slider to control the backlight the min value on the slider will be set to the 'OFF brightness' value, the max value will be 'ON brightness'. Values in between are scaled accordingly.
Tested on TX16S and EL18.
Note: If 'OFF brightness' is set to the lowest value in the settings UI then the inactivity timer will turn the LCD off. This is not true of the pot/sider value - the lowest value does not turn the LCD off.