Do not show resize handle in mini variant

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2023-01-03 23:58:46 +00:00
parent 1497e54974
commit e418bb17c6
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0
4 changed files with 12 additions and 2 deletions

View file

@ -533,6 +533,15 @@ END_NAMESPACE_DISTRHO
namespace rack {
bool isMini()
{
#if CARDINAL_VARIANT_MINI
return true;
#else
return false;
#endif
}
bool isStandalone()
{
return std::strstr(getPluginFormatName(), "Standalone") != nullptr;