mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-09 23:34:20 +00:00
LV2 Client: Avoid advertising noUserResize as extension data
This commit is contained in:
parent
e57dac4a63
commit
aaa204c608
1 changed files with 2 additions and 5 deletions
|
|
@ -1381,7 +1381,6 @@ private:
|
||||||
"\t\tui:idleInterface ,\n"
|
"\t\tui:idleInterface ,\n"
|
||||||
#endif
|
#endif
|
||||||
"\t\topts:interface ,\n"
|
"\t\topts:interface ,\n"
|
||||||
"\t\tui:noUserResize ,\n" // resize and noUserResize are always present in the extension data array
|
|
||||||
"\t\tui:resize ;\n"
|
"\t\tui:resize ;\n"
|
||||||
"\n"
|
"\n"
|
||||||
"\tlv2:requiredFeature\n"
|
"\tlv2:requiredFeature\n"
|
||||||
|
|
@ -1833,13 +1832,11 @@ LV2_SYMBOL_EXPORT const LV2UI_Descriptor* lv2ui_descriptor (uint32_t index)
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// We'll always define noUserResize and idle in the extension data array, but we'll
|
// We'll always define idle in the extension data array, but we'll
|
||||||
// only declare them in the ui.ttl if the UI is actually non-resizable, or requires
|
// only declare it in the ui.ttl if the UI requires idle callbacks.
|
||||||
// idle callbacks.
|
|
||||||
// Well-behaved hosts should check the ttl before trying to search the
|
// Well-behaved hosts should check the ttl before trying to search the
|
||||||
// extension-data array.
|
// extension-data array.
|
||||||
static const LV2_Feature features[] { { LV2_UI__resize, &resize },
|
static const LV2_Feature features[] { { LV2_UI__resize, &resize },
|
||||||
{ LV2_UI__noUserResize, nullptr },
|
|
||||||
{ LV2_UI__idleInterface, &idle },
|
{ LV2_UI__idleInterface, &idle },
|
||||||
{ LV2_OPTIONS__interface, &options } };
|
{ LV2_OPTIONS__interface, &options } };
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue