Skip to content

Commit

Permalink
Welcome to planning board
Browse files Browse the repository at this point in the history
  • Loading branch information
turannul committed Jul 3, 2023
1 parent c9c562f commit 46b58d7
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions to-do list.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

Hide Menu bar???
Disable Trackpad (and Touchbar) Gestures while app running?
Improve code readability :: refactor later?




2,3,4 I might need help.
3-
NSGestureRecognizer *trackpadGestureRecognizer = [NSPanGestureRecognizer alloc];
trackpadGestureRecognizer.allowedTouchTypes = @[@(NSTouchTypeDirect)];
[trackpadGestureRecognizer setEnabled:NO];
[[NSApplication sharedApplication] addGestureRecognizer:trackpadGestureRecognizer];

for (NSTouchBarItem *item in [[NSTouchBar builtInTouchBar] itemIdentifiers]) {
if ([item isKindOfClass:[NSCustomTouchBarItem class]]) {
NSCustomTouchBarItem *customItem = (NSCustomTouchBarItem *)item;
[customItem.view setGestureRecognizers:@[]];
}
}

0 comments on commit 46b58d7

Please sign in to comment.