]> git.ipfire.org Git - thirdparty/Chart.js.git/commit
Ensure that chart dimensions are always >= 0
authorPeter-Van-Drunen <peetevd@gmail.com>
Fri, 23 Jun 2017 22:08:16 +0000 (18:08 -0400)
committerEvert Timberg <evert.timberg+github@gmail.com>
Fri, 23 Jun 2017 22:08:16 +0000 (18:08 -0400)
commitbef44ccb461dbf2211dbc14a4b1535d4810b8411
tree64115711595da776ba4eea97a8e04a4d64f4b8db
parentb548d1a689c15be9498f1e3bd144aee5844b1c02
Ensure that chart dimensions are always >= 0

Elements were resizing incorrectly if they were regenerated while the chart was in a div that was display:none. Added a check to avoid this issue. Resolves #4397
src/core/core.controller.js