new on_top not work on macos
This commit is contained in:
parent
54d03b2ecf
commit
53fdddb1a9
@ -552,7 +552,7 @@ void window_on_top(int? id) async {
|
||||
if (id == null) {
|
||||
print("Bring window on top");
|
||||
// main window
|
||||
if (desktopType == DesktopType.cm &&
|
||||
if (!Platform.isMacOS && desktopType == DesktopType.cm &&
|
||||
!(await windowManager.isMinimized() ||
|
||||
!await windowManager.isVisible())) {
|
||||
await windowManager.setAlwaysOnTop(true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user