summaryrefslogtreecommitdiff
path: root/src/ui/inputwidget.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-09-17 12:45:21 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-09-17 12:45:21 +0300
commitf828dcca3b23fca99656273d43641ff3d423be59 (patch)
tree0b981e3f5d819eb2b3a5e8786fdad34656cabcb3 /src/ui/inputwidget.c
parent350f1d2190486982570d2a9413b4a5ce70a6256e (diff)
Touch: Swipes interact at start position
Allow the swiping finger to exit the widget without stopping the swipe.
Diffstat (limited to 'src/ui/inputwidget.c')
-rw-r--r--src/ui/inputwidget.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/inputwidget.c b/src/ui/inputwidget.c
index b214d730..d078593a 100644
--- a/src/ui/inputwidget.c
+++ b/src/ui/inputwidget.c
@@ -541,6 +541,8 @@ static void updateVisible_InputWidget_(iInputWidget *d) {
541 d->visWrapLines.start = 0; 541 d->visWrapLines.start = 0;
542 d->visWrapLines.end = 1; 542 d->visWrapLines.end = 1;
543 } 543 }
544// printf("[InputWidget %p] total:%d viswrp:%d cur:%d vis:%d..%d\n",
545// d, totalWraps, visWraps, d->cursor.y, d->visWrapLines.start, d->visWrapLines.end);
544} 546}
545 547
546static void showCursor_InputWidget_(iInputWidget *d) { 548static void showCursor_InputWidget_(iInputWidget *d) {