Fix minimum size
This commit is contained in:
parent
36f144e501
commit
ed285a13b6
1 changed files with 2 additions and 7 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue