From 4be49467560f0d27b74450b212a9b5270cd47aa9 Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Sat, 30 Oct 2021 11:06:56 +1100 Subject: [PATCH] [mac] Fix SetMaxSize --- v2/internal/frontend/desktop/darwin/WailsContext.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2/internal/frontend/desktop/darwin/WailsContext.m b/v2/internal/frontend/desktop/darwin/WailsContext.m index e7d0bab2..9ddab566 100644 --- a/v2/internal/frontend/desktop/darwin/WailsContext.m +++ b/v2/internal/frontend/desktop/darwin/WailsContext.m @@ -74,7 +74,7 @@ self.maxSize = size; - [self.mainWindow setMinSize:size]; + [self.mainWindow setMaxSize:size]; [self adjustWindowSize]; }