GUI: vol meter fix

This commit is contained in:
tildearrow 2023-01-05 03:36:09 -05:00
parent 707bbb54ea
commit 7f5cdd6f6b
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ void FurnaceGUI::drawVolMeter() {
ImLerp(rect.Min,rect.Max,ImVec2(float(i)/outChans,1.0-logPeak)),
ImLerp(rect.Min,rect.Max,ImVec2(float(i+1)/outChans,1.0))
);
if (i==(outChans-1)) s.Max.x-=dpiScale;
if (i!=(outChans-1)) s.Max.x-=dpiScale;
if (isClipping) {
dl->AddRectFilled(s.Min,s.Max,ImGui::GetColorU32(uiColors[GUI_COLOR_VOLMETER_PEAK]));
} else {