File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Intermodular/Helpers/AppKit or UIKit Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ final class AppKitOrUIKitHostingWindow<Content: View>: AppKitOrUIKitWindow {
41
41
#endif
42
42
43
43
var _canBecomeKey : Bool = true
44
- var isVisible : Binding < Bool > = . constant( true )
44
+ var isVisibleBinding : Binding < Bool > = . constant( true )
45
45
var allowTouchesToPassThrough : Bool = false
46
46
47
47
var windowPosition : CGPoint ? {
@@ -213,7 +213,7 @@ fileprivate struct AppKitOrUIKitHostingWindowContent<Content: View>: View {
213
213
window? . isHidden = true
214
214
#endif
215
215
216
- window? . isVisible . wrappedValue = false
216
+ window? . isVisibleBinding . wrappedValue = false
217
217
}
218
218
}
219
219
}
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ extension WindowOverlay {
118
118
119
119
contentWindow. rootView = content
120
120
contentWindow. _canBecomeKey = canBecomeKey
121
- contentWindow. isVisible = isVisible
121
+ contentWindow. isVisibleBinding = isVisible
122
122
123
123
#if os(macOS)
124
124
contentWindow. title = " "
You can’t perform that action at this time.
0 commit comments