You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ha...@apache.org on 2020/01/14 19:56:21 UTC
[royale-asjs] branch develop updated: Oops
This is an automated email from the ASF dual-hosted git repository.
harbs 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 3aec2f8 Oops
3aec2f8 is described below
commit 3aec2f8ddbe7e98aafb536f61ce5254db9a69f42
Author: Harbs <ha...@in-tools.com>
AuthorDate: Tue Jan 14 21:56:08 2020 +0200
Oops
---
.../Core/src/main/royale/org/apache/royale/core/SimpleCSSValuesImpl.as | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/frameworks/projects/Core/src/main/royale/org/apache/royale/core/SimpleCSSValuesImpl.as b/frameworks/projects/Core/src/main/royale/org/apache/royale/core/SimpleCSSValuesImpl.as
index e12dcb9..e3b1cd6 100644
--- a/frameworks/projects/Core/src/main/royale/org/apache/royale/core/SimpleCSSValuesImpl.as
+++ b/frameworks/projects/Core/src/main/royale/org/apache/royale/core/SimpleCSSValuesImpl.as
@@ -764,7 +764,8 @@ package org.apache.royale.core
COMPILE::JS
protected function processNumberStyle(prop:String,value:*):*{
if (colorStyles[prop])
- value = CSSUtils.attributeFromColor(value);
+ return CSSUtils.attributeFromColor(value);
+
return value + 'px';
}