解决 macOS 10.12 下 PAC 模式下Safari 或 Twitter 客户端 tweetbot客户端不能FQ的问题
解决 macOS 10.12 下 PAC 模式下Safari 或 Twitter 客户端 tweetbot客户端不能FQ的问题 https://github.com/qiuyuzhou/ShadowsocksX-NG/issues/30 PS 手头没有 macOS 10.12 的机器,麻烦有的请帮忙测试一下 或者可以从 https://github.com/qinyuhang/ShadowsocksX-NG/tree/webserver 下载去 Xcode build 一下
This commit is contained in:
@ -28,7 +28,7 @@
|
||||
return;
|
||||
}
|
||||
else if ([[event charactersIgnoringModifiers] isEqualToString:@"z"]) {
|
||||
if ([self sendAction:@selector(undo:) to:nil from:self])
|
||||
if ([self sendAction:@selector(undo) to:nil from:self])
|
||||
return;
|
||||
}
|
||||
else if ([[event charactersIgnoringModifiers] isEqualToString:@"a"]) {
|
||||
@ -38,7 +38,7 @@
|
||||
}
|
||||
else if (([event modifierFlags] & NSDeviceIndependentModifierFlagsMask) == (NSCommandKeyMask | NSShiftKeyMask)) {
|
||||
if ([[event charactersIgnoringModifiers] isEqualToString:@"Z"]) {
|
||||
if ([self sendAction:@selector(redo:) to:nil from:self])
|
||||
if ([self sendAction:@selector(redo) to:nil from:self])
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user