diff options
author | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2020-01-02 09:56:29 -0500 |
---|---|---|
committer | Mike Blumenkrantz <zmike@samsung.com> | 2020-01-02 09:56:29 -0500 |
commit | cb2645058e8252f5910d9869524ada70c26bef47 (patch) | |
tree | e4e8577886ce7ae94685eb5cfa23d262a1dad08c | |
parent | 1656573b875a82dc2f3692d6cb1d3a61ac7898ba (diff) | |
download | efl-cb2645058e8252f5910d9869524ada70c26bef47.tar.gz |
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
-rw-r--r-- | src/lib/elementary/efl_ui_spin_button.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"; |