Fix UI window minimum size
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
fed5823bc7
commit
d3a682411f
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue