Fix UI window minimum size

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2021-12-15 16:23:33 +00:00
parent fed5823bc7
commit d3a682411f
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0
2 changed files with 2 additions and 2 deletions

View file

@ -274,7 +274,7 @@ public:
const double scaleFactor = getScaleFactor(); const double scaleFactor = getScaleFactor();
setGeometryConstraints(640, 480); setGeometryConstraints(648, 538);
if (scaleFactor != 1) if (scaleFactor != 1)
setSize(1228 * scaleFactor, 666 * scaleFactor); setSize(1228 * scaleFactor, 666 * scaleFactor);

View file

@ -55,7 +55,7 @@ namespace rack {
namespace window { namespace window {
static const math::Vec minWindowSize = math::Vec(640, 480); static const math::Vec minWindowSize = math::Vec(648, 538);
void Font::loadFile(const std::string& filename, NVGcontext* vg) { void Font::loadFile(const std::string& filename, NVGcontext* vg) {