From 008b4c7b1f589780be0e2624337484c085cacbe0 Mon Sep 17 00:00:00 2001 From: quou Date: Tue, 4 Jun 2024 21:52:57 +1000 Subject: Speed up animation of the seek bar. --- library.c | 1 + main.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/library.c b/library.c index 1ff2510..350789a 100644 --- a/library.c +++ b/library.c @@ -219,6 +219,7 @@ int sound_mix( ); if (!r) p->play = 0; p->cs += r; + ui_update_seek(p); return r * p->channels * 4; } diff --git a/main.c b/main.c index 2b0e763..3a0ebed 100644 --- a/main.c +++ b/main.c @@ -234,7 +234,6 @@ int prog_main(void* mem) { &pctrl->e, UI_ELEMENT_H_FILL ); - UIElementAnimate(&seek_slider->e, false); seek_slider->e.messageUser = seek_msg; pqueue = UIPanelCreate(&split3->e, UI_PANEL_GRAY); -- cgit v1.2.3-54-g00ecf