Browse Source

Fix minimum size

tags/22.02
falkTX 3 years ago
parent
commit
ed285a13b6
1 changed files with 2 additions and 7 deletions
  1. +2
    -7
      src/CardinalUI.cpp

+ 2
- 7
src/CardinalUI.cpp View File

@@ -274,15 +274,10 @@ public:

const double scaleFactor = getScaleFactor();

setGeometryConstraints(640, 480);

if (scaleFactor != 1)
{
setGeometryConstraints(640 * scaleFactor, 480 * scaleFactor);
setSize(1228 * scaleFactor, 666 * scaleFactor);
}
else
{
setGeometryConstraints(640, 480);
}

rack::contextSet(context);



Loading…
Cancel
Save