Do focus on popup
Because the window APPEARS over our current window But isn't focuseded So we canj't see our fucking window And we can't close the new fucking window So it's the worst of both worlds FUCK
This commit is contained in:
@@ -222,6 +222,8 @@ class MainPageState extends State<MainPage> with WindowListener {
|
|||||||
await windowManager.setSize(const Size(1600, 900));
|
await windowManager.setSize(const Size(1600, 900));
|
||||||
await windowManager.center();
|
await windowManager.center();
|
||||||
await windowManager.show();
|
await windowManager.show();
|
||||||
|
await windowManager.focus();
|
||||||
|
_currentEntryFocusNode.requestFocus();
|
||||||
await _playSound();
|
await _playSound();
|
||||||
} else {
|
} else {
|
||||||
await windowManager.focus();
|
await windowManager.focus();
|
||||||
|
Reference in New Issue
Block a user