Permalink
Browse files

Only toggle on-screen touchbar if it is enabled. (#89)

  • Loading branch information...
1 parent 19ea277 commit fe3635d3084b7f644b05983ff6df85c848004e65 @urashid64 urashid64 committed with robbertkl Dec 28, 2016
Showing with 2 additions and 1 deletion.
  1. +2 −1 TouchBarServer/AppDelegate.m
@@ -255,7 +255,8 @@ - (IBAction)changeRemoteAlign:(NSMenuItem *)sender {
}
- (void)didPressModifierKey {
- [self toggleTouchBarWindow];
+ if (self.screenEnable == YES)
+ [self toggleTouchBarWindow];
}
- (NSMutableDictionary *)keyCaptionsForCurrentInputSource {

0 comments on commit fe3635d

Please sign in to comment.