You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2014/09/25 18:04:28 UTC
[46/50] git commit: [flex-asjs] [refs/heads/develop] - use host
use host
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/e95eee4b
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/e95eee4b
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/e95eee4b
Branch: refs/heads/develop
Commit: e95eee4b15c9513e122c46553e05950e31321db6
Parents: 669d04b
Author: Alex Harui <ah...@apache.org>
Authored: Thu Sep 25 07:59:22 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu Sep 25 07:59:22 2014 -0700
----------------------------------------------------------------------
.../FlexJSUI/src/org/apache/flex/html/beads/TextAreaView.as | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e95eee4b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/beads/TextAreaView.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/beads/TextAreaView.as b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/beads/TextAreaView.as
index d73aaf7..9bce189 100644
--- a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/beads/TextAreaView.as
+++ b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/beads/TextAreaView.as
@@ -141,7 +141,7 @@ package org.apache.flex.html.beads
vsbm.value = 0;
vsb.model = vsbm;
vsb.width = 16;
- IParent(strand).addElement(vsb);
+ IParent(host).addElement(vsb);
vsb.addEventListener("scroll", scrollHandler);
@@ -162,13 +162,13 @@ package org.apache.flex.html.beads
private function sizeChangedHandler(event:Event):void
{
- var ww:Number = DisplayObject(strand).width - DisplayObject(vScrollBar).width;
+ var ww:Number = DisplayObject(host).width - DisplayObject(vScrollBar).width;
if( !isNaN(ww) && ww > 0 ) {
textField.width = ww;
_border.width = ww;
}
- var hh:Number = DisplayObject(strand).height;
+ var hh:Number = DisplayObject(host).height;
if( !isNaN(hh) && hh > 0 ) {
textField.height = hh;
_border.height = hh;