You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by pe...@apache.org on 2017/04/11 16:00:33 UTC
[08/44] git commit: [flex-asjs] [refs/heads/develop] - Setting
position:absolute (JS-side) can mess with layouts which will set position as
they need.
Setting position:absolute (JS-side) can mess with layouts which will set position as they need.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/bfe9baa0
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/bfe9baa0
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/bfe9baa0
Branch: refs/heads/develop
Commit: bfe9baa0d57e081e22c4e62d0366ad4c52faa1b6
Parents: 3e8efbd
Author: Peter Ent <pe...@apache.org>
Authored: Thu Mar 30 10:51:29 2017 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Thu Mar 30 10:51:29 2017 -0400
----------------------------------------------------------------------
.../HTML/src/main/flex/org/apache/flex/core/UIBase.as | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bfe9baa0/frameworks/projects/HTML/src/main/flex/org/apache/flex/core/UIBase.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/core/UIBase.as b/frameworks/projects/HTML/src/main/flex/org/apache/flex/core/UIBase.as
index dfe94bf..af9e255 100644
--- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/core/UIBase.as
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/core/UIBase.as
@@ -637,7 +637,7 @@ package org.apache.flex.core
COMPILE::JS
public function set x(value:Number):void
{
- positioner.style.position = 'absolute';
+// positioner.style.position = 'absolute';
positioner.style.left = value + 'px';
}
@@ -670,7 +670,7 @@ package org.apache.flex.core
}
COMPILE::JS
{
- positioner.style.position = 'absolute';
+// positioner.style.position = 'absolute';
positioner.style.left = value + 'px';
}
}
@@ -693,7 +693,7 @@ package org.apache.flex.core
COMPILE::JS
public function set y(value:Number):void
{
- positioner.style.position = 'absolute';
+// positioner.style.position = 'absolute';
positioner.style.top = value + 'px';
}
@@ -726,7 +726,7 @@ package org.apache.flex.core
}
COMPILE::JS
{
- positioner.style.position = 'absolute';
+// positioner.style.position = 'absolute';
positioner.style.top = value + 'px';
}
}