Browse Source

CLAP: Assume UI to be resizable if DISTRHO_UI_USER_RESIZABLE is 1

pull/506/head
falkTX 5 months ago
parent
commit
ef75ef2187
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      distrho/src/DistrhoPluginCLAP.cpp

+ 3
- 1
distrho/src/DistrhoPluginCLAP.cpp View File

@@ -306,8 +306,10 @@ public:
#if DISTRHO_UI_USER_RESIZABLE
if (UIExporter* const ui = fUI.get())
return ui->isResizable();
#endif
return true;
#else
return false;
#endif
}

bool getResizeHints(clap_gui_resize_hints_t* const hints) const


Loading…
Cancel
Save