Updated to current HNHUI for dark mode support for macOS 10.14

This commit is contained in:
Michael Starke
2018-09-19 17:40:37 +02:00
parent bcbeb2e43e
commit 8d7bb31b7c
35 changed files with 287 additions and 113 deletions

View File

@@ -306,9 +306,12 @@ static MPAutotypeDaemon *_sharedInstance;
styleMask:NSWindowStyleMaskNonactivatingPanel|NSWindowStyleMaskTitled
backing:NSBackingStoreRetained
defer:YES];
self.matchSelectionWindow.level = NSScreenSaverWindowLevel;
self.matchSelectionWindow.level = kCGAssistiveTechHighWindowLevel;
MPAutotypeCandidateSelectionViewController *vc = [[MPAutotypeCandidateSelectionViewController alloc] init];
vc.candidates = candidates;
self.matchSelectionWindow.collectionBehavior |= (NSWindowCollectionBehaviorFullScreenAuxiliary |
NSWindowCollectionBehaviorMoveToActiveSpace |
NSWindowCollectionBehaviorTransient );
self.matchSelectionWindow.contentViewController = vc;
}