GUI: new osc renderer, part 23

speed hack
This commit is contained in:
tildearrow 2024-02-19 18:22:08 -05:00
parent d046713be4
commit 6cf570f85b
5 changed files with 16 additions and 0 deletions

View file

@ -382,6 +382,10 @@ void FurnaceGUI::drawOsc() {
if (ImGui::IsItemClicked(ImGuiMouseButton_Right)) {
oscZoomSlider=!oscZoomSlider;
}
if (mobileUI && ImGui::IsItemHovered() && CHECK_LONG_HOLD) {
oscZoomSlider=!oscZoomSlider;
NOTIFY_LONG_HOLD;
}
}
if (settings.oscTakesEntireWindow) {
ImGui::PopStyleVar(3);