mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-26 04:57:54 +00:00
Fix default button on touch bar
This commit is contained in:
1 parent
6e01dd272f
commit
b16d881808
3 files changed
+3
-3
No files matched your search
Vendored
+1
-1
@@ -113,7 +113,7 @@
|
||||
[self.touchBarProvider addButtonWithButton:self.skipButton];
|
||||
[self.touchBarProvider addSpace];
|
||||
[self.touchBarProvider addButtonWithButton:self.laterButton];
|
||||
[self.touchBarProvider addButtonWithButton:self.installButton];
|
||||
[self.touchBarProvider addButtonWithButton:self.installButton].keyEquivalent = @"\r";
|
||||
[self.touchBarProvider addSpace];
|
||||
[self.touchBarProvider addSpace];
|
||||
return self.touchBarProvider.touchBar;
|
||||
|
||||
Vendored
+1
-1
@@ -330,7 +330,7 @@
|
||||
[self.touchBarProvider addButtonWithButton:self.skipButton];
|
||||
[self.touchBarProvider addSpace];
|
||||
[self.touchBarProvider addButtonWithButton:self.laterButton];
|
||||
[self.touchBarProvider addButtonWithButton:self.installButton];
|
||||
[self.touchBarProvider addButtonWithButton:self.installButton].keyEquivalent = @"\r";
|
||||
[self.touchBarProvider addSpace];
|
||||
[self.touchBarProvider addSpace];
|
||||
return self.touchBarProvider.touchBar;
|
||||
|
||||
Vendored
+1
-1
@@ -171,7 +171,7 @@
|
||||
{
|
||||
self.touchBarProvider = [[SUTouchBarProvider alloc] initWithIdentifier:self.className];
|
||||
[self.touchBarProvider addButtonWithButton:self.cancelButton];
|
||||
[self.touchBarProvider addButtonWithButton:self.checkButton];
|
||||
[self.touchBarProvider addButtonWithButton:self.checkButton].keyEquivalent = @"\r";
|
||||
return self.touchBarProvider.touchBar;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user