X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6746dc89c47ed01b165cc1152533605f97eb8e8d..f562e4c6e5fac7bcb445985b99acbea4d706e6f0:/docs/source/Mask.html diff --git a/docs/source/Mask.html b/docs/source/Mask.html index 0c0bd6e3..6bcaeb8b 100644 --- a/docs/source/Mask.html +++ b/docs/source/Mask.html @@ -3,8 +3,8 @@ The source code - - + + @@ -50,6 +50,7 @@ * */ Ext.define('Ext.chart.Mask', { + require: ['Ext.chart.MaskLayer'], /** * Creates new Mask. * @param {Object} config (optional) Config object. @@ -196,12 +197,7 @@ Ext.define('Ext.chart.Mask', { width: abs(width), height: abs(height) }; - me.mask.updateBox({ - x: posX - abs(width), - y: posY - abs(height), - width: abs(width), - height: abs(height) - }); + me.mask.updateBox(me.maskSelection); me.mask.show(); me.maskSprite.setAttributes({ hidden: true