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 60f7e08bdc Fixed error
60f7e08bdc is described below
commit 60f7e08bdc067effdbaa4b85e53128dea5f53a50
Author: Harbs <[email protected]>
AuthorDate: Tue Feb 24 15:05:48 2026 +0200
Fixed error
---
.../main/royale/org/apache/royale/style/stylebeads/layout/ZIndex.as | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/layout/ZIndex.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/layout/ZIndex.as
index ff3e263793..20dc5912c3 100644
---
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/layout/ZIndex.as
+++
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/layout/ZIndex.as
@@ -26,12 +26,10 @@ package org.apache.royale.style.stylebeads.layout
{
super("z", "z-index");
}
- private var negative:Boolean;
override public function set value(value:*):void
{
- negative = value < 0;
- if(negative)
- _rulePrefix = "-z";
+ var negative:Boolean = value < 0;;
+ _selectorPrefix = negative ? "-z" : "z";
calculatedRuleValue = _value = value;
calculatedSelector = negative ? "" + Math.abs(value) :
value;
}