| Summary: | MiniBrowser toolbar is ugly with default macOS Big Sur style | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Dean Jackson <dino> | ||||||||
| Component: | New Bugs | Assignee: | Dean Jackson <dino> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | sam, thorton, webkit-bug-importer | ||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||
| Version: | WebKit Nightly Build | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Dean Jackson
2020-07-15 17:59:08 PDT
Created attachment 404409 [details]
Patch
Created attachment 404410 [details]
Before
Created attachment 404411 [details]
After (in dark mode)
Comment on attachment 404409 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=404409&action=review > Tools/MiniBrowser/mac/BrowserWindowController.m:46 > +#if TARGET_OS_OSX && __MAC_OS_X_VERSION_MIN_REQUIRED >= 110000 Why the TARGET_ check? > Tools/MiniBrowser/mac/BrowserWindowController.m:51 > + reloadButton.image = [NSImage imageWithSystemSymbolName:@"arrow.clockwise" accessibilityDescription:@"Reload"]; I believe it is possible to specify symbols in IB? But I could be wrong. Seems like @available should be used instead for best practices here. Committed r264441: <https://trac.webkit.org/changeset/264441> |