Skip to content

Commit

Permalink
Instead of double tap, it's just single tap to close the menu
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyjurjens committed Aug 23, 2020
1 parent e161b23 commit 4d0ac8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion template/Menu.mm
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ -(id)initWithTitle:(NSString *)title_ titleColor:(UIColor *)titleColor_ titleFon
[self.header addGestureRecognizer:dragMenuRecognizer];

UITapGestureRecognizer *tapGestureRecognizer = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(hideMenu:)];
tapGestureRecognizer.numberOfTapsRequired = 2;
tapGestureRecognizer.numberOfTapsRequired = 1;
[self.header addGestureRecognizer:tapGestureRecognizer];

[mainWindow addSubview:self];
Expand Down
2 changes: 1 addition & 1 deletion template/versionCheck.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
VERSION='0.6.7'
VERSION='0.6.8'
# Don't remove the above line. Serves as the version this script will fetch. Only update when a new version is out.

ERROR='\033[1;31m[*] Error:\033[1;37m '
Expand Down

0 comments on commit 4d0ac8a

Please sign in to comment.