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
This commit is contained in:
Marcel Hollerbach 2020-01-02 09:56:29 -05:00 committed by Mike Blumenkrantz
parent 1656573b87
commit cb2645058e
1 changed files with 1 additions and 1 deletions

View File

@ -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";