forked from enlightenment/efl
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:
parent
1656573b87
commit
cb2645058e
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue