Update rate limit does work on macOS after all
This commit is contained in:
parent
c5954db307
commit
341642d8e0
2 changed files with 0 additions and 4 deletions
|
|
@ -382,13 +382,11 @@ public:
|
||||||
filebrowserhandle = nullptr;
|
filebrowserhandle = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef DISTRHO_OS_MAC
|
|
||||||
if (windowParameters.rateLimit != 0 && ++rateLimitStep % (windowParameters.rateLimit * 2))
|
if (windowParameters.rateLimit != 0 && ++rateLimitStep % (windowParameters.rateLimit * 2))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
rateLimitStep = 0;
|
rateLimitStep = 0;
|
||||||
repaint();
|
repaint();
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void WindowParametersChanged(const WindowParameterList param, float value) override
|
void WindowParametersChanged(const WindowParameterList param, float value) override
|
||||||
|
|
|
||||||
|
|
@ -479,7 +479,6 @@ struct ViewButton : MenuButton {
|
||||||
|
|
||||||
menu->addChild(createBoolPtrMenuItem("Lock module positions", "", &settings::lockModules));
|
menu->addChild(createBoolPtrMenuItem("Lock module positions", "", &settings::lockModules));
|
||||||
|
|
||||||
#ifndef DISTRHO_OS_MAC
|
|
||||||
menu->addChild(new ui::MenuSeparator);
|
menu->addChild(new ui::MenuSeparator);
|
||||||
|
|
||||||
static const std::vector<std::string> rateLimitLabels = {
|
static const std::vector<std::string> rateLimitLabels = {
|
||||||
|
|
@ -496,7 +495,6 @@ struct ViewButton : MenuButton {
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue