michaelrsweet / pappl

PAPPL - Printer Application Framework
https://www.msweet.org/pappl
Apache License 2.0
307 stars 49 forks source link

Fix darkness calculation in web interface #332

Closed proski closed 7 months ago

proski commented 7 months ago

Round stored percent values to the closest hardware darkness value.

proski commented 7 months ago

Verified saving every percentage value in the web interface. All values are preserved on save. Without this change, all values slide towards 0% on save.

michaelrsweet commented 7 months ago

Old code, current v1.4.x branch uses master code to calculate.