summaryrefslogtreecommitdiff
path: root/src/ui/documentwidget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r--src/ui/documentwidget.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c
index 84e9ebfe..c3a6d40d 100644
--- a/src/ui/documentwidget.c
+++ b/src/ui/documentwidget.c
@@ -2602,8 +2602,11 @@ static iBool processEvent_DocumentWidget_(iDocumentWidget *d, const SDL_Event *e
2602 updateHover_DocumentWidget_(d, mpos); 2602 updateHover_DocumentWidget_(d, mpos);
2603 } 2603 }
2604 } 2604 }
2605 if (ev->type == SDL_MOUSEBUTTONDOWN) { 2605 if (ev->type == SDL_USEREVENT && ev->user.code == widgetTapBegins_UserEventCode) {
2606 iChangeFlags(d->flags, noHoverWhileScrolling_DocumentWidgetFlag, iFalse); 2606 iChangeFlags(d->flags, noHoverWhileScrolling_DocumentWidgetFlag, iFalse);
2607 return iTrue;
2608 }
2609 if (ev->type == SDL_MOUSEBUTTONDOWN) {
2607 if (ev->button.button == SDL_BUTTON_X1) { 2610 if (ev->button.button == SDL_BUTTON_X1) {
2608 postCommand_App("navigate.back"); 2611 postCommand_App("navigate.back");
2609 return iTrue; 2612 return iTrue;