From cb2645058e8252f5910d9869524ada70c26bef47 Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Thu, 2 Jan 2020 09:56:29 -0500 Subject: [PATCH] efl_ui_spin_button: improve "keep clicking" behavior Summary: when you keep a pressed cursor on the inc or dec button, you likely dont want to have to wait 0.8s for one tick, so this is simply lowering this time to 0.2. Depends on D11000 Reviewers: zmike, cedric, segfaultxavi Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11001 --- src/lib/elementary/efl_ui_spin_button.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elementary/efl_ui_spin_button.c b/src/lib/elementary/efl_ui_spin_button.c index 5ddd1f363a..514272fae4 100644 --- a/src/lib/elementary/efl_ui_spin_button.c +++ b/src/lib/elementary/efl_ui_spin_button.c @@ -24,7 +24,7 @@ //when a item is pressed but not released, this time passes by //until another step is added or removed from the current value. //given in seconds -#define REPEAT_INTERVAL 0.85 +#define REPEAT_INTERVAL 0.2 static const char PART_NAME_ENTRY[] = "entry"; static const char PART_NAME_DEC_BUTTON[] = "dec_button";