mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-09 10:00:27 +00:00
fix(ui): restore tray menu dismissal and use upstream plugin
This commit is contained in:
1 parent
051d4267a5
commit
a05eea3268
3 files changed
+9
-12
No files matched your search
@@ -398,7 +398,9 @@ class AppPlatformController extends AsyncNotifier<AppPlatformState> with WindowL
|
||||
|
||||
@override
|
||||
void onTrayIconRightMouseDown() {
|
||||
trayManager.popUpContextMenu();
|
||||
// Windows requires a foreground menu owner to dismiss on outside clicks.
|
||||
// ignore: deprecated_member_use
|
||||
trayManager.popUpContextMenu(bringAppToFront: true);
|
||||
}
|
||||
|
||||
@override
|
||||
|
||||
Reference in new issue
Block a user