git.ithinksw.org
/
extjs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade to ExtJS 4.0.7 - Released 10/19/2011
[extjs.git]
/
src
/
chart
/
Mask.js
diff --git
a/src/chart/Mask.js
b/src/chart/Mask.js
index
e0193d0
..
d1e7d0c
100644
(file)
--- a/
src/chart/Mask.js
+++ b/
src/chart/Mask.js
@@
-47,6
+47,7
@@
If you are unsure which license is appropriate for your use, please contact the
*
*/
Ext.define('Ext.chart.Mask', {
*
*/
Ext.define('Ext.chart.Mask', {
+ require: ['Ext.chart.MaskLayer'],
/**
* Creates new Mask.
* @param {Object} config (optional) Config object.
/**
* Creates new Mask.
* @param {Object} config (optional) Config object.
@@
-193,12
+194,7
@@
Ext.define('Ext.chart.Mask', {
width: abs(width),
height: abs(height)
};
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
me.mask.show();
me.maskSprite.setAttributes({
hidden: true