Browse Source
Merge pull request #8188 from AvaloniaUI/fixes/osx-dialog-titlebar-style
Fix osx dialog style mask
pull/8192/head
Max Katz
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
native/Avalonia.Native/src/OSX/WindowImpl.mm
|
|
|
@ -523,7 +523,7 @@ bool WindowImpl::IsDialog() { |
|
|
|
} |
|
|
|
|
|
|
|
NSWindowStyleMask WindowImpl::GetStyle() { |
|
|
|
unsigned long s = this->_isDialog ? NSWindowStyleMaskUtilityWindow : NSWindowStyleMaskBorderless; |
|
|
|
unsigned long s = this->_isDialog ? NSWindowStyleMaskDocModalWindow : NSWindowStyleMaskBorderless; |
|
|
|
|
|
|
|
switch (_decorations) { |
|
|
|
case SystemDecorationsNone: |
|
|
|
|