Skip to content

Commit

Permalink
fix 3rd party select, minimumPressDuration needs to be 0.001 for it t…
Browse files Browse the repository at this point in the history
…o register
  • Loading branch information
amet authored and davilla committed Jul 13, 2017
1 parent cd51879 commit 9f740ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/platform/darwin/tvos/MainController.mm
Expand Up @@ -535,7 +535,7 @@ - (void)createPressGesturecognizers
auto selectRecognizer = [[UILongPressGestureRecognizer alloc]
initWithTarget: self action: @selector(selectPressed:)];
selectRecognizer.allowedPressTypes = @[[NSNumber numberWithInteger:UIPressTypeSelect]];
selectRecognizer.minimumPressDuration = 0.01;
selectRecognizer.minimumPressDuration = 0.001;
selectRecognizer.delegate = self;
[self.view addGestureRecognizer: selectRecognizer];
}
Expand Down

0 comments on commit 9f740ad

Please sign in to comment.