Repository: flex-asjs Updated Branches: refs/heads/develop d6510866f -> 06fa792ba
Fixed overflow issues with transformed divs Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/06fa792b Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/06fa792b Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/06fa792b Branch: refs/heads/develop Commit: 06fa792ba7d532d398171af88525f9334e7b7dfa Parents: d651086 Author: Harbs <[email protected]> Authored: Mon Feb 6 23:25:22 2017 +0200 Committer: Harbs <[email protected]> Committed: Mon Feb 6 23:25:22 2017 +0200 ---------------------------------------------------------------------- .../HTML5/src/main/flex/org/apache/flex/html5/TransformBead.as | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/06fa792b/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/TransformBead.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/TransformBead.as b/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/TransformBead.as index 8964fc4..eb0ea67 100644 --- a/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/TransformBead.as +++ b/frameworks/projects/HTML5/src/main/flex/org/apache/flex/html5/TransformBead.as @@ -38,6 +38,8 @@ package org.apache.flex.html5 var matrixArray:Array = [fjsm.a , fjsm.b, fjsm.c, fjsm.d, fjsm.tx, fjsm.ty]; var transformStr:String = "matrix(" + matrixArray.join(",") + ")"; element.style.transform = transformStr; + element.style.transformOrigin = "0px 0px"; + element.style.position = "absolute"; } }
