Handle all wasm ddpx/dpi targets known

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2022-07-08 12:04:41 +01:00
parent fd3a21add0
commit 5e93775d26
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0
2 changed files with 366 additions and 37 deletions

View file

@ -406,7 +406,13 @@ void appendSelectionContextMenu(ui::Menu* const menu)
}, false, true));
// Save
menu->addChild(createMenuItem("Save selection as", "", [w]() {
menu->addChild(createMenuItem(
#ifdef DISTRHO_OS_WASM
"Save selection",
#else
"Save selection as...",
#endif
"", [w]() {
CardinalModuleWidget__saveSelectionDialog(w);
}, n == 0));