From: Jens Steinhauser Date: Thu, 3 Sep 2015 13:26:17 +0000 (+0200) Subject: Ruler: Factor out the calculation of the tick spacing X-Git-Url: http://git.code-monkey.de/?a=commitdiff_plain;h=4b0af0b67fe57e0880bcb8aa13b4fa807f3aaac0;hp=4b0af0b67fe57e0880bcb8aa13b4fa807f3aaac0;p=pulseview.git Ruler: Factor out the calculation of the tick spacing This avoids useless recalculations of the tick spacings on every mouse pointer move and makes the function easier to test. ---