]> git.ipfire.org Git - thirdparty/Chart.js.git/commit
Correctly handle decimal display size (#4009)
authorSimon Brunel <simonbrunel@users.noreply.github.com>
Sat, 18 Mar 2017 10:54:56 +0000 (11:54 +0100)
committerGitHub <noreply@github.com>
Sat, 18 Mar 2017 10:54:56 +0000 (11:54 +0100)
commitbd60fa2dfd25bae95520e7968a72eecac218f7ba
tree42c48d3b8c4853aa6c42c8033ac10233091a33cd
parent4b421a50bfa17f73ac7aa8db7d077e674dbc148d
Correctly handle decimal display size (#4009)

Fix the `readUsedSize` regular expression to correctly parse (truncate) pixel decimal values.
src/platforms/platform.dom.js
test/specs/platform.dom.tests.js