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.
This commit is contained in:
parent
141a8624f6
commit
60901bfa84
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue