diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-06-15 06:40:49 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-06-15 06:40:49 +0300 |
commit | e5e3b291ac0adc2eab0ec5840b7bad99517b4d59 (patch) | |
tree | e60947e9efa5a5f45b3b5d2b844cde18563c2aa6 /src/ui | |
parent | 4bcb7acb840627a197f8e9ed40256fc8ac0a01a9 (diff) |
iOS: Gentle haptic tap for sidebar-back-swipe
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/documentwidget.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index bd624059..0fe8220e 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -2842,8 +2842,7 @@ static iBool handleCommand_DocumentWidget_(iDocumentWidget *d, const char *cmd) | |||
2842 | postCommand_App("sidebar.toggle"); | 2842 | postCommand_App("sidebar.toggle"); |
2843 | showToolbar_Root(get_Root(), iTrue); | 2843 | showToolbar_Root(get_Root(), iTrue); |
2844 | #if defined (iPlatformAppleMobile) | 2844 | #if defined (iPlatformAppleMobile) |
2845 | /* TODO: Add a softer tap? */ | 2845 | playHapticEffect_iOS(gentleTap_HapticEffect); |
2846 | // playHapticEffect_iOS(tap_HapticEffect); | ||
2847 | #endif | 2846 | #endif |
2848 | return iTrue; | 2847 | return iTrue; |
2849 | } | 2848 | } |