Ruler: Factor out the calculation of the tick spacing
authorJens Steinhauser <jens.steinhauser@gmail.com>
Thu, 3 Sep 2015 13:26:17 +0000 (15:26 +0200)
committerUwe Hermann <uwe@hermann-uwe.de>
Fri, 4 Sep 2015 10:54:52 +0000 (12:54 +0200)
This avoids useless recalculations of the tick spacings on every mouse
pointer move and makes the function easier to test.


No differences found