]> git.ipfire.org Git - thirdparty/Chart.js.git/commit
maxRotation test is off by one 1797/head
authorKriss <kriss@xixs.com>
Thu, 17 Dec 2015 22:00:12 +0000 (22:00 +0000)
committerKriss <kriss@xixs.com>
Thu, 17 Dec 2015 22:00:12 +0000 (22:00 +0000)
commitd9363d637a8fec511c06b03a262f3d04a92313b4
tree844b6011ebe221f819e6000463dc1b67019f66a9
parentf7d3ea384101dca999cea21f040d4e2065134202
maxRotation test is off by one

Most notable when maxRotation=0 and you end up with the text becoming non centred as it has rotated it by 1 and switched to right alligned mode.
src/core/core.scale.js