Return-Path: X-Original-To: apmail-flex-commits-archive@www.apache.org Delivered-To: apmail-flex-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ECD1218480 for ; Fri, 7 Aug 2015 17:12:00 +0000 (UTC) Received: (qmail 88648 invoked by uid 500); 7 Aug 2015 17:12:00 -0000 Delivered-To: apmail-flex-commits-archive@flex.apache.org Received: (qmail 88626 invoked by uid 500); 7 Aug 2015 17:12:00 -0000 Mailing-List: contact commits-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 commits@flex.apache.org Received: (qmail 88617 invoked by uid 99); 7 Aug 2015 17:12:00 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Aug 2015 17:12:00 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 9B9D1E0547; Fri, 7 Aug 2015 17:12:00 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: aharui@apache.org To: commits@flex.apache.org Date: Fri, 07 Aug 2015 17:12:01 -0000 Message-Id: <3a55945d44b44131b0e120dfef4c4b44@git.apache.org> In-Reply-To: <39c45ea50e554658b0bf05fe0eecebdc@git.apache.org> References: <39c45ea50e554658b0bf05fe0eecebdc@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [05/15] git commit: [flex-asjs] [refs/heads/develop] - fix typo fix typo Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/272bd487 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/272bd487 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/272bd487 Branch: refs/heads/develop Commit: 272bd48727b18b0a7f588bf5e3cb86f334a33278 Parents: a6d4152 Author: Alex Harui Authored: Thu Aug 6 22:12:09 2015 -0700 Committer: Alex Harui Committed: Fri Aug 7 10:00:57 2015 -0700 ---------------------------------------------------------------------- .../Core/as/src/org/apache/flex/core/UIButtonBase.as | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/272bd487/frameworks/projects/Core/as/src/org/apache/flex/core/UIButtonBase.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/Core/as/src/org/apache/flex/core/UIButtonBase.as b/frameworks/projects/Core/as/src/org/apache/flex/core/UIButtonBase.as index 889c60a..a8c2ba9 100644 --- a/frameworks/projects/Core/as/src/org/apache/flex/core/UIButtonBase.as +++ b/frameworks/projects/Core/as/src/org/apache/flex/core/UIButtonBase.as @@ -106,10 +106,6 @@ package org.apache.flex.core style = { top: value }; else style.top = value; - if (!isNaN(_y)) - _styles.top = _y; - if (!isNaN(_x)) - _styles.left = _x; dispatchEvent(new Event("yChanged")); } } @@ -626,6 +622,10 @@ package org.apache.flex.core _styles = ValuesManager.valuesImpl.parseStyles(value as String); else _styles = value; + if (!isNaN(_y)) + _styles.top = _y; + if (!isNaN(_x)) + _styles.left = _x; dispatchEvent(new Event("stylesChanged")); }