]> git.ipfire.org Git - thirdparty/Chart.js.git/commit
Build labelDiffs cache once per update (#3211)
authorTomasz Moń <desowin@gmail.com>
Sun, 4 Sep 2016 07:22:27 +0000 (10:22 +0300)
committerTomasz Moń <desowin@gmail.com>
Sun, 4 Sep 2016 07:22:27 +0000 (10:22 +0300)
commitcd24895cd1b5c5fc29b4c4548bd8a0d2c2727475
tree5fb2724b3325d2e54aaeea442e5811302ac7cbca
parent020ac35852ea6ea6cb27023a0cf31340a948484d
Build labelDiffs cache once per update (#3211)

Previously buildLabelDiffs() was called at the end of buildTicks() and
hence labelDiffs cache was calculated twice (in getMinimumBoxSize() and
then in fitBox()).
src/scales/scale.time.js