add blurred filter for album art when paused

v-0.4.0
Carsten Haitzler 3 years ago
parent cf2b383f0c
commit 0c1fe57057
  1. 24
      data/themes/default.edc

@ -489,6 +489,30 @@ collections {
target: "art_clip3";
}
snapshot { "art_filter";
clip_to: "art_clip";
desc { state: "default" 0.0;
rel.to: "art_clip";
filter.code: "padding_set { 0 } blur { state.pos * 50, color = '#ffff' }";
visible: 0;
}
desc { state: "visible" 0.0;
inherit: "default" 0.0;
filter.code: "padding_set { 0 } blur { (1.0 - state.pos) * 50, color = '#ffff' }";
visible: 1;
}
}
program { signal: "action,play"; source: "rage";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.2;
target: "art_filter";
}
program { signal: "action,pause"; source: "rage";
action: STATE_SET "visible" 0.0;
transition: SINUSOIDAL 0.4;
target: "art_filter";
}
part { name: "rage.gesture"; type: SWALLOW;
description { state: "default" 0.0;
rel2.to_y: "controlbar";

Loading…
Cancel
Save