From e5e3b291ac0adc2eab0ec5840b7bad99517b4d59 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Tue, 15 Jun 2021 06:40:49 +0300 Subject: iOS: Gentle haptic tap for sidebar-back-swipe --- src/ui/documentwidget.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/ui') 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) postCommand_App("sidebar.toggle"); showToolbar_Root(get_Root(), iTrue); #if defined (iPlatformAppleMobile) - /* TODO: Add a softer tap? */ -// playHapticEffect_iOS(tap_HapticEffect); + playHapticEffect_iOS(gentleTap_HapticEffect); #endif return iTrue; } -- cgit v1.2.3