diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-05-15 16:22:27 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-15 22:22:27 +0200 |
commit | b73f678ee82a6f3fae36ed39dfc4cfc27c64a871 (patch) | |
tree | c87d2dc03d7ef150c49f694af33b1ad1c6f1ea7f /src/yuzu/loading_screen.cpp | |
parent | 024c84d2db68584dac144175fa85aaa87ef7acc5 (diff) |
frontend: Set minimum window size to 640x360 instead of 1280x720 (#3413)
Diffstat (limited to 'src/yuzu/loading_screen.cpp')
-rw-r--r-- | src/yuzu/loading_screen.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/yuzu/loading_screen.cpp b/src/yuzu/loading_screen.cpp index 2a6483370..ae842306c 100644 --- a/src/yuzu/loading_screen.cpp +++ b/src/yuzu/loading_screen.cpp @@ -19,6 +19,7 @@ #include <QTime> #include <QtConcurrent/QtConcurrentRun> #include "common/logging/log.h" +#include "core/frontend/framebuffer_layout.h" #include "core/loader/loader.h" #include "ui_loading_screen.h" #include "video_core/rasterizer_interface.h" @@ -61,7 +62,7 @@ LoadingScreen::LoadingScreen(QWidget* parent) : QWidget(parent), ui(std::make_unique<Ui::LoadingScreen>()), previous_stage(VideoCore::LoadCallbackStage::Complete) { ui->setupUi(this); - setMinimumSize(1280, 720); + setMinimumSize(Layout::MinimumSize::Width, Layout::MinimumSize::Height); // Create a fade out effect to hide this loading screen widget. // When fading opacity, it will fade to the parent widgets background color, which is why we |