mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-27 06:53:01 +00:00
GUI: fix pat chan stat icons gone when center pat
This commit is contained in:
parent
64ef082650
commit
a9f77a3ff7
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue