From 60901bfa849f5228d2952552cdc7edaea780793a Mon Sep 17 00:00:00 2001 From: Alastair Poole Date: Sun, 1 Dec 2019 14:19:27 +0000 Subject: [PATCH] novideo: Show/hide overlay and controls. As with video playback, display controls and overlay when audio is playing. Thus we can see the controls with high brightness artwork and it shows/hides on mouseover. --- data/themes/default.edc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/data/themes/default.edc b/data/themes/default.edc index 3e15f27..bf09e36 100644 --- a/data/themes/default.edc +++ b/data/themes/default.edc @@ -76,11 +76,7 @@ collections { } t = get_int(pos_timer); if (t) cancel_timer(t); - if (!get_int(novideo)) { - t = timer(5.0, "pos_timeout", 1); - } else { - t = 0; - } + t = timer(5.0, "pos_timeout", 1); set_int(pos_timer, t); } } @@ -573,7 +569,7 @@ collections { } program { signal: "state,novideo"; source: "rage"; - action: STATE_SET "novideo" 0.0; + action: STATE_SET "default" 0.0; target: "controlbar"; } program {