summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-05-16 12:00:26 +0200
committerGitHub <noreply@github.com>2022-05-16 12:00:26 +0200
commitd6e7dcbea9c297253e05a75691d5707aa0a749b3 (patch)
treeb0c419979cd2bb51d66ca5155d9bc2a681015abc
parentc1277c2183eaacb9ae49f9fef0c57443b934b72b (diff)
parent05d524b624c58f3aff26382df739d1b7c7b5c790 (diff)
Merge pull request #61074 from timoschwarzer/fix-ios-vibration-duration
-rw-r--r--platform/iphone/ios.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/iphone/ios.mm b/platform/iphone/ios.mm
index cca28cc055..79baae028a 100644
--- a/platform/iphone/ios.mm
+++ b/platform/iphone/ios.mm
@@ -77,7 +77,7 @@ void iOS::vibrate_haptic_engine(float p_duration_seconds) API_AVAILABLE(ios(13))
NSDictionary *hapticDict = @{
CHHapticPatternKeyPattern : @[
@{CHHapticPatternKeyEvent : @{
- CHHapticPatternKeyEventType : CHHapticEventTypeHapticTransient,
+ CHHapticPatternKeyEventType : CHHapticEventTypeHapticContinuous,
CHHapticPatternKeyTime : @(CHHapticTimeImmediate),
CHHapticPatternKeyEventDuration : @(p_duration_seconds)
},