only update current time if overlay is visible
This commit is contained in:
parent
3a4cd02ddb
commit
84ef81fd3f
2
empc.c
2
empc.c
|
@ -263,7 +263,7 @@ empc_status(void *d EINA_UNUSED, int t EINA_UNUSED, Empd_Empc_Status_Data *ev)
|
|||
empd_song_length = ev->song_length;
|
||||
empd_song_elapsed = ev->song_elapsed;
|
||||
elm_slider_value_set(o, (double)ev->song_elapsed / (double)ev->song_length);
|
||||
if (empd_song_item)
|
||||
if (empd_song_item && queue_list_state)
|
||||
elm_genlist_item_fields_update(empd_song_item, "empc.text.time", ELM_GENLIST_ITEM_FIELD_TEXT);
|
||||
}
|
||||
up = songid_update(ev->songid);
|
||||
|
|
Loading…
Reference in New Issue