aboutsummaryrefslogtreecommitdiff
path: root/src/QuickMedia.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/QuickMedia.cpp')
-rw-r--r--src/QuickMedia.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp
index 54a85de..beb3e84 100644
--- a/src/QuickMedia.cpp
+++ b/src/QuickMedia.cpp
@@ -300,7 +300,7 @@ namespace QuickMedia {
Program::Program() :
disp(nullptr),
- window_size(1280, 720),
+ window_size(1050, 1080),
current_page(PageType::EXIT),
image_index(0)
{
@@ -652,6 +652,9 @@ namespace QuickMedia {
if(strcmp(plugin_name, "download") == 0) {
window_size.x = std::min(900, monitor_size.x);
window_size.y = std::min(900, monitor_size.y);
+ } else {
+ window_size.x = std::min(window_size.x, monitor_size.x);
+ window_size.y = std::min(window_size.y, monitor_size.y);
}
mgl::Window::CreateParams window_create_params;