Fix initial vst3 window size on macOS

This commit is contained in:
falkTX 2021-12-29 04:03:45 +00:00
parent 8f1e164595
commit 7fe6bff959
2 changed files with 3 additions and 3 deletions

2
dpf

@ -1 +1 @@
Subproject commit d48c7ffc0fe7fe1d0515b9737a3af64c58acdaf1
Subproject commit d0413dfbd6580fcb89dcbee11cad9319975474cc

View file

@ -277,9 +277,9 @@ public:
const double scaleFactor = getScaleFactor();
setGeometryConstraints(648, 538);
setGeometryConstraints(648 * scaleFactor, 538 * scaleFactor);
if (scaleFactor != 1)
if (scaleFactor != 1.0)
setSize(1228 * scaleFactor, 666 * scaleFactor);
rack::contextSet(context);