summaryrefslogtreecommitdiff
path: root/data/themes
diff options
context:
space:
mode:
authorAlastair Poole <netstar@gmail.com>2019-12-01 14:19:27 +0000
committerAlastair Poole <netstar@gmail.com>2019-12-01 14:19:27 +0000
commit60901bfa849f5228d2952552cdc7edaea780793a (patch)
tree5301f2fd0114e0958689feaac6c9dce20ffecebd /data/themes
parent141a8624f6ffe24f89c4fe9e6df608b828f93ae6 (diff)
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.
Diffstat (limited to 'data/themes')
-rw-r--r--data/themes/default.edc8
1 files 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 {
76 } 76 }
77 t = get_int(pos_timer); 77 t = get_int(pos_timer);
78 if (t) cancel_timer(t); 78 if (t) cancel_timer(t);
79 if (!get_int(novideo)) { 79 t = timer(5.0, "pos_timeout", 1);
80 t = timer(5.0, "pos_timeout", 1);
81 } else {
82 t = 0;
83 }
84 set_int(pos_timer, t); 80 set_int(pos_timer, t);
85 } 81 }
86 } 82 }
@@ -573,7 +569,7 @@ collections {
573 } 569 }
574 program { 570 program {
575 signal: "state,novideo"; source: "rage"; 571 signal: "state,novideo"; source: "rage";
576 action: STATE_SET "novideo" 0.0; 572 action: STATE_SET "default" 0.0;
577 target: "controlbar"; 573 target: "controlbar";
578 } 574 }
579 program { 575 program {