From 9b62eb9d340f851f887a1e1b034f40fe8775a776 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Fri, 28 Jan 2022 03:08:55 -0500 Subject: [PATCH] GUI: don't display a tooltip on the oscilloscope --- src/gui/gui.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 7b960b802..547776135 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -2001,7 +2001,9 @@ void FurnaceGUI::drawOsc() { values[i]=(e->oscBuf[0][pos]+e->oscBuf[1][pos])*0.5f; } //ImGui::SetCursorPos(ImVec2(0,0)); + ImGui::BeginDisabled(); ImGui::PlotLines("##SingleOsc",values,512,0,NULL,-1.0f,1.0f,ImGui::GetContentRegionAvail()); + ImGui::EndDisabled(); } ImGui::PopStyleVar(4); ImGui::End();