Browse Source

hide "Browse VCV Library" button

tags/22.02
falkTX 4 years ago
parent
commit
aa00eef4bc
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      src/CardinalUI.cpp

+ 6
- 0
src/CardinalUI.cpp View File

@@ -117,6 +117,12 @@ public:
context->scene->menuBar = rack::app::createMenuBar(this, getApp().isStandalone());
context->scene->addChildBelow(context->scene->menuBar, context->scene->rackScroll);

// hide "Browse VCV Library" button
rack::widget::Widget* const browser = context->scene->browser->children.back();
rack::widget::Widget* const headerLayout = browser->children.front();
rack::widget::Widget* const libraryButton = headerLayout->children.back();
libraryButton->hide();

context->window->step();

rack::contextSet(nullptr);


Loading…
Cancel
Save