Fix minimum size

This commit is contained in:
falkTX 2021-12-14 23:00:37 +00:00
parent 36f144e501
commit ed285a13b6

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);