Possibly it would be enough to modify the decrementing expression (end of line 1619 in rev. 115)? Like
- Code: Select all
*** 1619 ****
--- 1619 ----
- { toleranceField.text(--tolerance); }
+ { toleranceField.text(tolerance > 0 ? --tolerance : tolerance); }
(Please interpret it as a C code, I'm not sure whether it is written equally in JS. Additionally it is no true patch as you can see, just a code snippet.)