From 93c4dc6893e733f563e70c315537922d55adfab2 Mon Sep 17 00:00:00 2001 From: Federico Angelilli Date: Thu, 14 Mar 2024 02:00:21 +0100 Subject: Refactor code and start adding shine animation --- src/button.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/button.c') diff --git a/src/button.c b/src/button.c index 01d4e36..b313f8a 100644 --- a/src/button.c +++ b/src/button.c @@ -94,6 +94,8 @@ void button_start_animation(Button *btn) const int fps = 60; if (btn->anim->handler(btn->anim)) g_timeout_add(1000 / 60, anim_handler, btn); + + log_debug("Started animation [type=%d, button=%p]", btn->anim->type, btn); } void button_destroy(Button *btn) -- cgit v1.2.3