royale-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject [royale-asjs] branch develop updated: Was failing when run on HTML platform.
Date Sun, 21 Jan 2018 13:35:15 GMT
This is an automated email from the ASF dual-hosted git repository.

pent pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new 80148d9  Was failing when run on HTML platform.
80148d9 is described below

commit 80148d938f6f1139e8494f011c7e0f3a010239eb
Author: Peter Ent <pent@apache.org>
AuthorDate: Sun Jan 21 08:37:19 2018 -0500

    Was failing when run on HTML platform.
---
 .../Core/src/main/royale/org/apache/royale/utils/CSSContainerUtils.as   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/CSSContainerUtils.as
b/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/CSSContainerUtils.as
index b2a2524..788d4a8 100644
--- a/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/CSSContainerUtils.as
+++ b/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/CSSContainerUtils.as
@@ -67,7 +67,7 @@ public class CSSContainerUtils
             {
                 if (border is Array)
                 {
-                    borderOffset = CSSUtils.toNumber(border[0], object.width);
+                    borderOffset = CSSUtils.toNumber(String(border[0]), object.width);
                     borderStyle = border[1];
                 }
                 else if (border == "none")

-- 
To stop receiving notification emails like this one, please contact
['"commits@royale.apache.org" <commits@royale.apache.org>'].

Mime
View raw message