[UX] Fix haptics not being completely disabled
This commit is contained in:
1 parent
9ba03b38ad
commit
49aee0a2e9
1 file changed
+3
-1
@@ -673,7 +673,9 @@ BOOL slideableHotbar;
|
||||
|
||||
- (void)surfaceOnHover:(UIHoverGestureRecognizer *)sender {
|
||||
if (sender.state == UIGestureRecognizerStateBegan || sender.state == UIGestureRecognizerStateEnded){
|
||||
[self.lightHaptic impactOccurred];
|
||||
if(![getPreference(@"disable_haptics") boolValue]) {
|
||||
[self.lightHaptic impactOccurred];
|
||||
}
|
||||
}
|
||||
|
||||
if (isGrabbing) return;
|
||||
|
||||
Reference in new issue
Block a user