mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-26 04:57:54 +00:00
Hold down shift instead of command to use popup titlebar user driver
This commit is contained in:
1 parent
d9946273a7
commit
af7952b773
1 file changed
+1
-1
@@ -34,7 +34,7 @@
|
||||
|
||||
// If the user is holding down command, we use the popup title user driver instead
|
||||
id<SPUUserDriver, SPUStandardUserDriverProtocol> userDriver;
|
||||
if (([NSEvent modifierFlags] & NSCommandKeyMask) != 0) {
|
||||
if (([NSEvent modifierFlags] & NSShiftKeyMask) != 0) {
|
||||
userDriver = [[SUPopUpTitlebarUserDriver alloc] initWithApplicationBundle:applicationBundle window:self.window];
|
||||
} else {
|
||||
userDriver = [[SPUStandardUserDriver alloc] initWithHostBundle:hostBundle applicationBundle:applicationBundle delegate:nil];
|
||||
|
||||
Reference in new issue
Block a user