From 683af61497171d1a18fad98a28297d6bf3be08a8 Mon Sep 17 00:00:00 2001 From: "Diego F. Goberna" Date: Sat, 8 Dec 2018 17:30:59 +0100 Subject: [PATCH] fixed difficulty menu hover color --- src/templates/menu.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/templates/menu.html b/src/templates/menu.html index ab105bb..10252bf 100644 --- a/src/templates/menu.html +++ b/src/templates/menu.html @@ -179,10 +179,10 @@ bind-item__animation__mouseleavevisible="enabled: menuSelectedChallenge.difficulty !== item" bind-toggle__raycastable="menuActive && !!menuSelectedChallenge.id && menuSelectedChallenge.difficulty !== item" geometry="primitive: plane; width: 0.4; height: 0.2" - material="shader: flat; color: {{ COLORS.UI_ACCENT }}; transparent: true; opacity: 0.0" + material="shader: flat; color: {% endraw %}{{ COLORS.UI_ACCENT }}{% raw %}; transparent: true; opacity: 0.0" position="0 -0.005 0" play-sound="event: mouseenter; sound: #hoverSound; volume: 0.03" - animation__mouseenter="property: components.material.material.opacity; to: 1.0; startEvents: mouseenter; pauseEvents: mouseleave; dur: 150" + animation__mouseenter="property: components.material.material.opacity; to: 0.3; startEvents: mouseenter; pauseEvents: mouseleave; dur: 150" animation__mouseentervisible="property: visible; from: false; to: true; startEvents: mouseenter; pauseEvents: mouseleave; dur: 1" animation__mouseleave="property: components.material.material.opacity; to: 0.0; startEvents: mouseleave; pauseEvents: mouseenter; dur: 150" animation__mouseleavevisible="property: visible; from: true; to: false; startEvents: mouseleave; pauseEvents: mouseenter; dur: 160">