GUI: set modal work-around to Big Sur+

This commit is contained in:
Mykola Grymalyuk
2022-05-22 11:31:20 -06:00
parent 69f7ad7115
commit e7143f2242
2 changed files with 5 additions and 2 deletions
+2 -1
View File
@@ -117,7 +117,8 @@ class wx_python_gui:
# If the previous frame was a modal, the new frame will anchor onto it
# instead of the core frame
# Calling ShowWithoutActivating() resets the frame position
self.frame_modal.ShowWithoutActivating()
if self.constants.detected_os >= os_data.os_data.big_sur:
self.frame_modal.ShowWithoutActivating()
def use_non_metal_alternative(self):
if self.constants.detected_os >= os_data.os_data.monterey: