Start of custom asset location handling, WIP

This commit is contained in:
falkTX 2021-10-21 03:10:14 +01:00
parent 74206ec01a
commit 0c6746fdce
5 changed files with 63 additions and 10 deletions

View file

@ -88,13 +88,18 @@ class CardinalUI : public UI,
public:
CardinalUI()
: UI(1280, 720),
: UI(1228, 666),
fContext(getRackContextFromPlugin(getPluginInstancePointer())),
fResizeHandle(this)
{
if (isResizable())
fResizeHandle.hide();
const double scaleFactor = getScaleFactor();
if (scaleFactor != 1)
setSize(1228 * scaleFactor, 666 * scaleFactor);
fContext->window = new rack::window::Window;
{