mirror of
https://github.com/yattee/yattee.git
synced 2026-05-12 18:35:05 +00:00
Set minimum window size on macOS
This commit is contained in:
@@ -67,6 +67,7 @@ struct YatteeApp: App {
|
||||
.tint(appEnvironment.settingsManager.accentColor.color)
|
||||
#endif
|
||||
#if os(macOS)
|
||||
.frame(minWidth: 800, minHeight: 500)
|
||||
// Required on the view to prevent new windows on URL open
|
||||
.handlesExternalEvents(preferring: ["*"], allowing: ["*"])
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user