Merge pull request #5 from TheBrokenRail/patch-4

Fix darlinghq/darling#670
This commit is contained in:
Sergey Bugaev 2020-02-18 20:12:06 +03:00 committed by GitHub
commit e6398f0123
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2355,9 +2355,9 @@ static BOOL _allowsAutomaticWindowTabbing;
return;
_isVisible = visible;
if (visible) {
[_platformWindow showWindowWithoutActivation];
[[self platformWindow] showWindowWithoutActivation];
} else {
[_platformWindow hideWindow];
[[self platformWindow] hideWindow];
}
}