You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "Justin Mclean (JIRA)" <ji...@apache.org> on 2013/04/17 04:28:13 UTC

[jira] [Updated] (FLEX-14802) This is something minor - might be a small typo in the code - does not seem to change functionality

     [ https://issues.apache.org/jira/browse/FLEX-14802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Mclean updated FLEX-14802:
---------------------------------

    Labels: easyfix  (was: )
    
> This is something minor - might be a small typo in the code - does not seem to change functionality
> ---------------------------------------------------------------------------------------------------
>
>                 Key: FLEX-14802
>                 URL: https://issues.apache.org/jira/browse/FLEX-14802
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: mx: Tree
>    Affects Versions: Adobe Flex SDK 3.0 (Release)
>         Environment: Affected OS(s): All OS Platforms
> Affected OS(s): All OS Platforms
> Language Found: English
>            Reporter: Adobe JIRA
>              Labels: easyfix
>
> This issue is with some lines of the code in Tree.as lines 2576 to 2579:
>         var topItem:Object = (rowNum > _verticalScrollPosition && rowNum <= numItems) ? 
>         					 listItems[rowNum - _verticalScrollPosition - 1][0].data : null;
>         var bottomItem:Object = (rowNum - verticalScrollPosition < rowInfo.length && rowNum < numItems) ? 
>         						listItems[rowNum - _verticalScrollPosition][0].data  : null;
> In the first place for "topItem" it compares to "_verticalScrollPosition", whereas in the second place for "bottomItem" it compares to "verticalScrollPosition" without the underscore - the public variable.
> I am not sure if this makes a difference in functionality, but it seems to be a typo, so there it is.

--
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