Skip to content

Commit

Permalink
GUI: fix pat chan stat icons gone when center pat
Browse files Browse the repository at this point in the history
  • Loading branch information
tildearrow committed Oct 29, 2023
1 parent 64ef082 commit a9f77a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gui/pattern.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -932,7 +932,8 @@ void FurnaceGUI::drawPattern() {
ImGuiWindow* win=ImGui::GetCurrentWindow();
ImVec2 posMin=win->DC.CursorPos;
ImGui::Dummy(ImVec2(dpiScale,settings.iconSize*dpiScale));
ImVec2 posMax=ImGui::GetContentRegionMax();
ImVec2 posMax=ImVec2(win->WorkRect.Max.x,win->WorkRect.Max.y);
posMin.y-=ImGui::GetStyle().ItemSpacing.y*0.5;
ImDrawList* dl=ImGui::GetWindowDrawList();
ImVec2 iconPos[6];
DivChannelState* cs=e->getChanState(i);
Expand Down

0 comments on commit a9f77a3

Please sign in to comment.