cocoa: removed the previously added hack for modal window on activation. Doesn't work on every macOS, as well as causing some issues

git-svn-id: trunk@59130 -
This commit is contained in:
dmitry 2018-09-22 17:10:05 +00:00
parent b6534f43ef
commit 7b1d87b432

View File

@ -270,9 +270,11 @@ begin
// the approach is not used
//
// the code takes care of all modal windows
//
// The hack is commented out, as it doesn't work on some machines
if NSAppkitversionNumber >= NSAppKitVersionNumber10_12 then
NSAnimationContext.endGrouping;
//if NSAppkitversionNumber >= NSAppKitVersionNumber10_12 then
//NSAnimationContext.endGrouping;
// If transaction is not terminated by calling "endGrouping"
// the typical error shown is: