(root)/ – Rev 37439
Rev 37438 |
Last modification |
Compare with Previous |
View Log
| RSS feed
Last modification
- Rev 37439 2026-08-27 13:12:09
- Author: amit
- Log message:
- Oppo: drop the stale nudgeFor javadoc that still referenced ASSUMED_RATIO
Comment only, no code change.
nudgeFor() and ASSUMED_RATIO were removed in r37438, but the javadoc describing
them was left orphaned above ALIGNED_PX, still explaining how to size a probe from
an assumed px-per-px. That is precisely the thing not to reintroduce, and a stale
comment arguing for it is an invitation to do so.
Replaced with a note on why there is no assumed ratio: it is derived from real
movement on every attempt and re-derived on every step within it. The constant was
tuned twice (1.7 -> 0.67 -> 1.7) against measurements contaminated by the leaked
slider press, and never helped. The widget's px-per-px genuinely varies by
environment (1.4-1.5 in production, 1.1-1.2 locally) and by brand, which is the
reason it has to be measured rather than assumed.