desktop-ui: 'hide until ready' for Windows only
このコミットが含まれているのは:
コミット
704fc91b9c
|
@ -151,7 +151,9 @@ auto nall::main(Arguments arguments) -> void {
|
|||
|
||||
program.create();
|
||||
presentation.loadEmulators();
|
||||
#if defined(PLATFORM_WINDOWS)
|
||||
presentation.setVisible(true);
|
||||
#endif
|
||||
Application::onMain({&Program::main, &program});
|
||||
Application::run();
|
||||
|
||||
|
|
|
@ -263,6 +263,10 @@ Presentation::Presentation() {
|
|||
setBackgroundColor({0, 0, 0});
|
||||
setAlignment(Alignment::Center);
|
||||
|
||||
#if !defined(PLATFORM_WINDOWS)
|
||||
setVisible();
|
||||
#endif
|
||||
|
||||
#if defined(PLATFORM_MACOS)
|
||||
Application::Cocoa::onAbout([&] { aboutAction.doActivate(); });
|
||||
Application::Cocoa::onActivate([&] { setFocused(); });
|
||||
|
|
読み込み中…
新しいイシューから参照