mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 20:43:44 +02:00
fix About view on Mac so that it opens links in the system web browser
This commit is contained in:
parent
aa2ee3f7be
commit
de7e8a1ca4
1 changed files with 2 additions and 1 deletions
|
@ -32,6 +32,7 @@
|
||||||
[self.webView.layer setCornerRadius:1.0f];
|
[self.webView.layer setCornerRadius:1.0f];
|
||||||
self.webView.layer.masksToBounds = YES;
|
self.webView.layer.masksToBounds = YES;
|
||||||
[self.webView.layer setBorderColor:[[NSColor darkGrayColor] CGColor]];
|
[self.webView.layer setBorderColor:[[NSColor darkGrayColor] CGColor]];
|
||||||
|
self.webView.policyDelegate = self;
|
||||||
|
|
||||||
NSBundle *bundle = [NSBundle mainBundle];
|
NSBundle *bundle = [NSBundle mainBundle];
|
||||||
NSURL *path = [bundle URLForResource:@"about" withExtension:@"html"];
|
NSURL *path = [bundle URLForResource:@"about" withExtension:@"html"];
|
||||||
|
|
Loading…
Add table
Reference in a new issue