You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,7 @@
1
+
## 1.6.1
2
+
3
+
- Add instructions on how to setup macos_window_utils for macOS Monterey and earlier versions.
4
+
1
5
## 1.6.0
2
6
3
7
- Add support for a blocking toolbar, that is, a special kind of toolbar that blocks double clicks from the user and allows for UI elements to be placed inside a blocked area (thanks to @cbenhagen and @Andre-lbc).
**Note:**`NSAppPresentationOptions` uses the `NSWindow`'s delegate to change the window's fullscreen presentation options. Therefore, `enableWindowDelegate` needs to be set to `true` in your `WindowManipulator.initialize` call for it to work.
236
236
237
+
## Older macOS versions
238
+
239
+
If you’re targeting older macOS versions (Monterey and earlier), it is necessary to perform the following steps to make the macos_window_utils plugin work correctly:
240
+
241
+
Open the `macos/Runner.xcworkspace` folder of your project using Xcode, press ⇧ + ⌘ + O and search for `MainFlutterWindow.swift`.
242
+
243
+
Insert `import macos_window_utils` at the top of the file.
244
+
Then, replace the code above the `super.awakeFromNib()`-line with the following code:
245
+
246
+
```swift
247
+
let windowFrame =self.frame
248
+
let macOSWindowUtilsViewController =MacOSWindowUtilsViewController()
0 commit comments