Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6F4CCD287 for ; Wed, 19 Dec 2012 22:36:05 +0000 (UTC) Received: (qmail 34106 invoked by uid 500); 19 Dec 2012 22:36:04 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 34059 invoked by uid 500); 19 Dec 2012 22:36:04 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 34051 invoked by uid 99); 19 Dec 2012 22:36:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Dec 2012 22:36:04 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.160.47] (HELO mail-pb0-f47.google.com) (209.85.160.47) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Dec 2012 22:35:57 +0000 Received: by mail-pb0-f47.google.com with SMTP id un1so1519681pbc.6 for ; Wed, 19 Dec 2012 14:35:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=XOeiKE/SMxXZf6a49LN9051wmKYE7p4Lf3h7DOPQHHU=; b=pZr+PdkPCdj1j+/pvKwsmHm1xdVJ1pKmHkv58njwwQb55c29tKPYmk+cGl/9+nYCP6 HBLkLDHl8ePEiprXmnO9A5znehS4Ju40EdRWS1vQEYVAMR1ccObtu/u0kIECjqhmJPpz bFjlz8QxLUhvclH+ccAfWPIEZ9gNT/TaiSfUiG93YYrkbOGddjlbBTieOqf/oa5MOnmA VD9k4WQZLrA82V5MqwXVQWd7cHioDQx5idVfQ0iJEEPAkG7K03YUMndoMofus78VhDU8 kOWb74CVSpcBl9qU2yM/ifatMocX6np3Zw9aYAazl/K6/ZEiPJFlL1L9yXvmqtsGEtqU ClXw== X-Received: by 10.68.197.68 with SMTP id is4mr23047221pbc.30.1355956534043; Wed, 19 Dec 2012 14:35:34 -0800 (PST) Received: from [192.168.0.9] (124-149-63-44.dyn.iinet.net.au. [124.149.63.44]) by mx.google.com with ESMTPS id gv9sm3795853pbc.21.2012.12.19.14.35.30 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 19 Dec 2012 14:35:33 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1283) Subject: Re: svn commit: r1423863 - /incubator/flex/sdk/branches/develop/frameworks/projects/charts/src/mx/charts/DateTimeAxis.as From: Justin Mclean In-Reply-To: Date: Thu, 20 Dec 2012 09:35:25 +1100 Content-Transfer-Encoding: 7bit Message-Id: References: To: flex-dev@incubator.apache.org X-Mailer: Apple Mail (2.1283) X-Gm-Message-State: ALoCoQkDHlx/VxK/TNYjXV/ItbIKSjCqHbHMwndv3TdVkeUoEZ1uWjuG/HmFzfwv+ZafIvQE2oTJ X-Virus-Checked: Checked by ClamAV on apache.org Hi, > var height:Number = Math.min(height, > listContent.height - > y); > changed to: > height = Math.min(height, listContent.height - y); The new version is also much easier to read IMO. Justin