Do not show update-rate-limit menu options on macOS, does nothing

This commit is contained in:
falkTX 2022-02-14 03:28:39 +00:00
parent 1b64240024
commit 69f0ff9084
3 changed files with 4 additions and 23 deletions

View file

@ -479,6 +479,7 @@ struct ViewButton : MenuButton {
menu->addChild(createBoolPtrMenuItem("Lock module positions", "", &settings::lockModules));
#ifndef DISTRHO_OS_MAC
menu->addChild(new ui::MenuSeparator);
static const std::vector<std::string> rateLimitLabels = {
@ -495,6 +496,7 @@ struct ViewButton : MenuButton {
));
}
}));
#endif
}
};