From d92db51cb79ec3ca4c21384bc677490d5d9c77af Mon Sep 17 00:00:00 2001 From: casey Date: Mon, 18 Jul 2016 01:46:23 -0700 Subject: [PATCH] Tweaked minimum size to be smaller. --- src/musikbox/Main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/musikbox/Main.cpp b/src/musikbox/Main.cpp index 6e191d1af..f62a2d541 100644 --- a/src/musikbox/Main.cpp +++ b/src/musikbox/Main.cpp @@ -59,8 +59,8 @@ using namespace musik::core::audio; using namespace musik::box; using namespace cursespp; -#define MIN_WIDTH 60 -#define MIN_HEIGHT 14 +#define MIN_WIDTH 22 +#define MIN_HEIGHT 11 #ifdef WIN32 int _main(int argc, _TCHAR* argv[]); @@ -130,7 +130,7 @@ int main(int argc, char* argv[]) app.SetResizeHandler([&]() { int cx = Screen::GetWidth(); int cy = Screen::GetHeight(); - if (cx <= MIN_WIDTH || cy <= MIN_HEIGHT) { + if (cx < MIN_WIDTH || cy < MIN_HEIGHT) { Window::Freeze(); } else {