Set minimum window size to 640x360 instead of 1280x720

This commit is contained in:
Morph
2020-02-14 14:49:15 -05:00
parent 72b73d22ab
commit 8dd337fa82
2 changed files with 2 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ private:
EmuWindow::EmuWindow() {
// TODO: Find a better place to set this.
config.min_client_area_size =
std::make_pair(Layout::ScreenUndocked::Width, Layout::ScreenUndocked::Height);
std::make_pair(Layout::ScreenUndocked::Width / 2, Layout::ScreenUndocked::Height / 2);
active_config = config;
touch_state = std::make_shared<TouchState>();
Input::RegisterFactory<Input::TouchDevice>("emu_window", touch_state);

View File

@@ -61,7 +61,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(640, 360);
// 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