mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
fix: remove settings view corner radius to prevent the crash on m1 (#315)
This commit is contained in:
@@ -153,8 +153,6 @@ private class SettingsView: NSView {
|
||||
height: frame.height - 2
|
||||
)
|
||||
self.mainView.wantsLayer = true
|
||||
self.mainView.layer?.cornerRadius = 3
|
||||
self.mainView.layer?.maskedCorners = [.layerMaxXMinYCorner]
|
||||
|
||||
self.addSubview(sidebar)
|
||||
self.addSubview(self.menuView)
|
||||
|
||||
Reference in New Issue
Block a user