aboutsummaryrefslogtreecommitdiff
path: root/src/connect.c
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2024-03-17 15:12:45 +0100
committerFederico Angelilli <code@fedang.net>2024-03-17 15:12:45 +0100
commit6e6992ec09edf79ef2cdcaf249e31809cf7d3145 (patch)
tree407b19699b826967ce85f29b83252c6fa13917ad /src/connect.c
parentabacdaccb6a1ef55bd85b66e10caaa217458400b (diff)
Add millis macro and refactor
Diffstat (limited to 'src/connect.c')
-rw-r--r--src/connect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/connect.c b/src/connect.c
index 3788db1..4b04ac4 100644
--- a/src/connect.c
+++ b/src/connect.c
@@ -113,8 +113,8 @@ static bool button_action_find(State *state, GList *layouts, int x, int y)
}
// NOTE: Animations may change the layouts!
- Animation *anim = animation_shine_create(300 * G_TIME_SPAN_MILLISECOND);
- //Animation *anim = animation_pulse_create(200 * G_TIME_SPAN_MILLISECOND);
+ Animation *anim = animation_shine_create(MILLIS(250));
+ //Animation *anim = animation_pulse_create(MILLIS(200));
if (button_set_animation(btn, anim))
state_request_animation(state);