]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Update this -> me with master 2695/head
authorzachpanz88 <zachary@panzarino.com>
Sat, 4 Jun 2016 18:16:35 +0000 (14:16 -0400)
committerzachpanz88 <zachary@panzarino.com>
Sat, 4 Jun 2016 18:16:35 +0000 (14:16 -0400)
1  2 
src/core/core.controller.js

index c7861c2362f8ea71a7d1a4cdc50f1d02a6532539,657d84d15413786480b76d7175a0c2c17b5c2922..db521c607eb3fa2854db11f1f39262af33847d94
@@@ -83,7 -82,7 +83,7 @@@ module.exports = function(Chart) 
                        var newWidth = helpers.getMaximumWidth(canvas);
                        var aspectRatio = chart.aspectRatio;
                        var newHeight = (me.options.maintainAspectRatio && isNaN(aspectRatio) === false && isFinite(aspectRatio) && aspectRatio !== 0) ? newWidth / aspectRatio : helpers.getMaximumHeight(canvas);
--
++                      
                        var sizeChanged = chart.width !== newWidth || chart.height !== newHeight;
  
                        if (!sizeChanged) {