calin-darie / gentle-glow-onyx-boox

Frontlight control for Onyx Boox e-readers
MIT License
56 stars 1 forks source link

Onyx Slider is not a preset: reflect that in both code and UI #14

Closed calin-darie closed 1 year ago

calin-darie commented 2 years ago

Onyx Slider is special: it's not a preset, it just shows you the last setting that was made outside GG. Its purpose is twofold: 1. See what the GG equivalent of your current Onyx sliders is, and 2. Have a way to restore your last Onyx slider setting, because using GG results in settings outside of Onyx slider's available increments and these settings are presented by Onyx as light on, slider at position zero.

If there were a way to hide the Onyx native sliders, it would make sense to remove the Onyx Slider option completely.

Spec: Replace Onyx Slider radio button with a button labeled "Restore Onyx sliders"

Implementation detail: