GUI: new pattern renderer, part 27

fix missing border on first channel
This commit is contained in:
tildearrow 2026-01-07 14:10:18 -05:00
parent db12b7ee5c
commit cc2f91a78a

View file

@ -1473,12 +1473,14 @@ void FurnaceGUI::drawPatternNew() {
ImGui::GetStyle().Alpha=origAlpha;
dl->PushClipRect(prevClipRect.Min,prevClipRect.Max);
dl->AddLine(
ImVec2(maxAreaRows.x-PAT_BORDER_SIZE,topRows.y),
ImVec2(maxAreaRows.x-PAT_BORDER_SIZE,maxArea.y),
ImVec2(maxAreaRows.x-PAT_BORDER_SIZE,winRect.Min.y),
ImVec2(maxAreaRows.x-PAT_BORDER_SIZE,winRect.Max.y),
ImGui::ColorConvertFloat4ToU32(ImGui::GetStyle().Colors[ImGuiCol_TableBorderLight]),
PAT_BORDER_SIZE
);
dl->PopClipRect();
// test for selection
if (selOrd>=0 && selRow>=0) {