@@ -8,6 +8,7 @@ In this document, Mod is Ctrl on Windows/Linux and Cmd on Mac. | |||||
- Automatically unzip update on Mac. | - Automatically unzip update on Mac. | ||||
- Stop worker threads when engine is paused to save CPU. | - Stop worker threads when engine is paused to save CPU. | ||||
- Hide menu and scrollbars when fullscreen. | - Hide menu and scrollbars when fullscreen. | ||||
- Add key command (F3) for engine CPU meter. | |||||
- Core | - Core | ||||
- Fix sustain pedal release bug when using polyphonic mode in MIDI-CV. | - Fix sustain pedal release bug when using polyphonic mode in MIDI-CV. | ||||
- API | - API | ||||
@@ -477,7 +477,8 @@ struct EngineButton : MenuButton { | |||||
CpuMeterItem* cpuMeterItem = new CpuMeterItem; | CpuMeterItem* cpuMeterItem = new CpuMeterItem; | ||||
cpuMeterItem->text = "CPU meter"; | cpuMeterItem->text = "CPU meter"; | ||||
cpuMeterItem->rightText = CHECKMARK(settings::cpuMeter); | |||||
cpuMeterItem->rightText = "F3 "; | |||||
cpuMeterItem->rightText += CHECKMARK(settings::cpuMeter); | |||||
menu->addChild(cpuMeterItem); | menu->addChild(cpuMeterItem); | ||||
SampleRateItem* sampleRateItem = new SampleRateItem; | SampleRateItem* sampleRateItem = new SampleRateItem; | ||||
@@ -148,6 +148,12 @@ void Scene::onHoverKey(const event::HoverKey& e) { | |||||
e.consume(this); | e.consume(this); | ||||
} | } | ||||
} break; | } break; | ||||
case GLFW_KEY_F3: { | |||||
if ((e.mods & RACK_MOD_MASK) == 0) { | |||||
settings::cpuMeter ^= true; | |||||
e.consume(this); | |||||
} | |||||
} break; | |||||
case GLFW_KEY_F11: { | case GLFW_KEY_F11: { | ||||
if ((e.mods & RACK_MOD_MASK) == 0) { | if ((e.mods & RACK_MOD_MASK) == 0) { | ||||
APP->window->setFullScreen(!APP->window->isFullScreen()); | APP->window->setFullScreen(!APP->window->isFullScreen()); | ||||