Return-Path: X-Original-To: apmail-flex-dev-archive@www.apache.org Delivered-To: apmail-flex-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9A27CF76E for ; Wed, 17 Apr 2013 02:28:14 +0000 (UTC) Received: (qmail 32614 invoked by uid 500); 17 Apr 2013 02:28:13 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 32582 invoked by uid 500); 17 Apr 2013 02:28:13 -0000 Mailing-List: contact dev-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list dev@flex.apache.org Received: (qmail 32573 invoked by uid 99); 17 Apr 2013 02:28:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Apr 2013 02:28:13 +0000 Date: Wed, 17 Apr 2013 02:28:13 +0000 (UTC) From: "Justin Mclean (JIRA)" To: dev@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FLEX-14802) This is something minor - might be a small typo in the code - does not seem to change functionality MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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