Skip to content

Commit

Permalink
Merge pull request #8188 from AvaloniaUI/fixes/osx-dialog-titlebar-style
Browse files Browse the repository at this point in the history
Fix osx dialog style mask
  • Loading branch information
maxkatz6 authored May 25, 2022
2 parents d1afd3b + 5b66f26 commit 17d8f33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion native/Avalonia.Native/src/OSX/WindowImpl.mm
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@
}

NSWindowStyleMask WindowImpl::GetStyle() {
unsigned long s = this->_isDialog ? NSWindowStyleMaskUtilityWindow : NSWindowStyleMaskBorderless;
unsigned long s = this->_isDialog ? NSWindowStyleMaskDocModalWindow : NSWindowStyleMaskBorderless;

switch (_decorations) {
case SystemDecorationsNone:
Expand Down

0 comments on commit 17d8f33

Please sign in to comment.