You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by pu...@apache.org on 2021/07/28 17:57:28 UTC
[royale-asjs] branch develop updated: Change in
TextColorSelectableItemRendererBead.as added background-color for selected
tab
This is an automated email from the ASF dual-hosted git repository.
pushminakazi 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 c2dc47e Change in TextColorSelectableItemRendererBead.as added background-color for selected tab
c2dc47e is described below
commit c2dc47ed97696b6e92a568b09d3d187697ba5708
Author: pashminakazi <pa...@gmail.com>
AuthorDate: Wed Jul 28 10:57:18 2021 -0700
Change in TextColorSelectableItemRendererBead.as added background-color for selected tab
---
.../apache/royale/html/beads/TextColorSelectableItemRendererBead.as | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/TextColorSelectableItemRendererBead.as b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/TextColorSelectableItemRendererBead.as
index 54aae6f..7c26c70 100644
--- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/TextColorSelectableItemRendererBead.as
+++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/TextColorSelectableItemRendererBead.as
@@ -39,7 +39,8 @@ package org.apache.royale.html.beads
COMPILE::JS
{
var element:HTMLElement = (_strand as IUIBase).element;
- element.style["color"] = selected ? "red" : "black";
+ element.style["color"] = selected ? "black" : "black";
+ element.style["background-color"] = selected ? "white" : null;
}
}
}