mainsail-crew / mainsail

Mainsail is the popular web interface for managing and controlling 3D printers with Klipper.
https://docs.mainsail.xyz
GNU General Public License v3.0
1.66k stars 348 forks source link

fix: calc multiplicator for set_pin gcode #1870

Closed rackrick closed 3 months ago

rackrick commented 3 months ago

Description

With this PR we fixed the missing scale calculation caused by PR#1804. The calculation is done after writing the gcode and then never updated. With this we always send the slider value between 0-1.

Related Tickets & Documents

Fixes https://github.com/mainsail-crew/mainsail/issues/1869

Mobile & Desktop Screenshots/Recordings

[optional] Are there any post-deployment tasks we need to perform?