use the positioner
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/023424aa Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/023424aa Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/023424aa Branch: refs/heads/develop Commit: 023424aadedd773379cd7f1a48269e6ac0850ad3 Parents: d8f3b36 Author: Alex Harui <[email protected]> Authored: Wed Dec 17 17:53:50 2014 -0800 Committer: Alex Harui <[email protected]> Committed: Wed Dec 17 17:53:50 2014 -0800 ---------------------------------------------------------------------- .../js/FlexJS/src/org/apache/flex/effects/PlatformWiper.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/023424aa/frameworks/js/FlexJS/src/org/apache/flex/effects/PlatformWiper.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/effects/PlatformWiper.js b/frameworks/js/FlexJS/src/org/apache/flex/effects/PlatformWiper.js index 3b48370..3b37c73 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/effects/PlatformWiper.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/effects/PlatformWiper.js @@ -50,7 +50,7 @@ org.apache.flex.effects.PlatformWiper.prototype.FLEXJS_CLASS_INFO = org.apache.flex.effects.PlatformWiper.prototype.set_target = function(target) { if (target == null) - delete this.target_.style.clip; + delete this.target_.positioner.style.clip; this.target_ = target; }; @@ -67,5 +67,5 @@ org.apache.flex.effects.PlatformWiper.prototype.set_visibleRect = styleString += rect.width.toString() + 'px,'; styleString += rect.height.toString() + 'px,'; styleString += rect.left.toString() + 'px,)'; - this.target_.style.clip = styleString; + this.target_.positioner.style.clip = styleString; };
