2
0
Fork 0

Update PluginEditor.cpp

This commit is contained in:
George Reales 2021-09-07 09:54:47 +02:00
parent 0c14441dad
commit f9a575d03b

View file

@ -882,15 +882,15 @@ void ObxdAudioProcessorEditor::createMenu ()
scaleMenu.addItem(menuScaleNum+2, "2x", true, getScaleFactor() == 2.0f);
menu->addSubMenu("GUI Size", scaleMenu, true);
#if defined(WIN32) || defined(LINUX)
#ifdef LINUX
menu->addItem(1, String("Release ") + String(JucePlugin_VersionString).dropLastCharacters(2), false);
#endif
#ifdef JUCE_MAC
#if defined(JUCE_MAC) || defined(WIN32)
PopupMenu helpMenu;
String version = String("Release ") + String(JucePlugin_VersionString).dropLastCharacters(2);
helpMenu.addItem(menuScaleNum+3, version, false);
helpMenu.addItem(menuScaleNum+4, "Manual", true);
helpMenu.addItem(menuScaleNum+3, version, false);
menu->addSubMenu("Help", helpMenu, true);
#endif
}