[ https://issues.apache.org/jira/browse/FLEX-13695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Mclean resolved FLEX-13695. ---------------------------------- Resolution: Cannot Reproduce Can't reproduce with spark or mx components. Checked all set rotation methods none do anything special with 0. > setting rotation to 0 is broken > ------------------------------- > > Key: FLEX-13695 > URL: https://issues.apache.org/jira/browse/FLEX-13695 > Project: Apache Flex > Issue Type: Bug > Components: Layout - General > Affects Versions: Adobe Flex SDK Previous > Environment: Affected OS(s): All OS Platforms > Language Found: English > Reporter: Adobe JIRA > > Steps to reproduce: > 1. create a element > 2. element.setFocus(true) > 3. element.rotation = 10 > 4. element.rotation = 0 > > Actual Results: > focusBox is still 10 rad rotated > > Expected Results: > focusBox should be not rotated > > Workaround (if any): > > overwrite rotation function on your element: > public function set rotation(rot:Number):void { > if(rot == 0) { > super.rotation = 0.001; > } > super.rotation = rot; > } > there seems to be a test if rot is true or != 0 to test if rotation should be > processed,. however rotation = 0 is still a valid and usefull value and > should update the internal stats. > we suspect that this bug also causes the problem that rotated elments cause > the focusbox to be rotated when the focus switches to a element which has > rotation 0. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira