You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2020/02/20 21:54:44 UTC

[royale-asjs] 05/05: disable selection on the todo examples

This is an automated email from the ASF dual-hosted git repository.

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

commit b305832f370d134a3557c1816b4e5301bee15b2e
Author: Alex Harui <ah...@apache.org>
AuthorDate: Thu Feb 20 13:52:48 2020 -0800

    disable selection on the todo examples
---
 examples/crux/todomvc-jewel-crux/src/main/resources/todomvc-styles.css | 2 ++
 examples/jewel/todomvc/src/main/resources/todomvc-styles.css           | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/examples/crux/todomvc-jewel-crux/src/main/resources/todomvc-styles.css b/examples/crux/todomvc-jewel-crux/src/main/resources/todomvc-styles.css
index 24e1c4f..a248198 100644
--- a/examples/crux/todomvc-jewel-crux/src/main/resources/todomvc-styles.css
+++ b/examples/crux/todomvc-jewel-crux/src/main/resources/todomvc-styles.css
@@ -198,6 +198,8 @@
 /* List */
 .todo-list {
 	IItemRenderer: ClassReference("jewel.todomvc.renderers.TodoItemRenderer");
+	/* disables selection visuals on renderers */
+    IItemRendererClassFactory: ClassReference("org.apache.royale.core.ItemRendererClassFactory");
 }
 
 .jewel.list {
diff --git a/examples/jewel/todomvc/src/main/resources/todomvc-styles.css b/examples/jewel/todomvc/src/main/resources/todomvc-styles.css
index 3917cfb..c4aa502 100644
--- a/examples/jewel/todomvc/src/main/resources/todomvc-styles.css
+++ b/examples/jewel/todomvc/src/main/resources/todomvc-styles.css
@@ -209,6 +209,8 @@ todomvc|TodoListSection
 /* List */
 .todo-list {
 	IItemRenderer: ClassReference("jewel.todomvc.renderers.TodoItemRenderer");
+	/* disables selection visuals on renderers */
+    IItemRendererClassFactory: ClassReference("org.apache.royale.core.ItemRendererClassFactory");
 }
 
 .jewel.list {