add initial value to prevent a few unnecessary layout passes
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/b185c1b8 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/b185c1b8 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/b185c1b8 Branch: refs/heads/develop Commit: b185c1b800213dfccd253279aae99dae3555f840 Parents: 75519a1 Author: Alex Harui <[email protected]> Authored: Fri Oct 24 11:44:32 2014 -0700 Committer: Alex Harui <[email protected]> Committed: Fri Oct 24 13:02:18 2014 -0700 ---------------------------------------------------------------------- .../html/beads/layouts/LayoutChangeNotifier.as | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b185c1b8/frameworks/as/projects/FlexJSJX/src/org/apache/flex/html/beads/layouts/LayoutChangeNotifier.as ---------------------------------------------------------------------- diff --git a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/html/beads/layouts/LayoutChangeNotifier.as b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/html/beads/layouts/LayoutChangeNotifier.as index acd6f92..00d328b 100644 --- a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/html/beads/layouts/LayoutChangeNotifier.as +++ b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/html/beads/layouts/LayoutChangeNotifier.as @@ -64,8 +64,23 @@ package org.apache.flex.html.beads.layouts private var _value:* = undefined; + /** + * The value of the property being watched. This is usually + * a data binding expression. + * + * @langversion 3.0 + * @playerversion Flash 10.2 + * @playerversion AIR 2.6 + * @productversion FlexJS 0.0 + */ + public function set initialValue(value:Object):void + { + _value = value; + } + /** - * The number of tiles to fit horizontally into the layout. + * The value of the property being watched. This is usually + * a data binding expression. * * @langversion 3.0 * @playerversion Flash 10.2
