Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
kphoenix137 committed Sep 15, 2024
1 parent c3fdcbc commit 3b97290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/control.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -948,7 +948,7 @@ void DrawCtrlBtns(const Surface &out)
} else {
Point position = mainPanelPosition + Displacement { PanelButtonRect[i].position.x, PanelButtonRect[i].position.y };
RenderClxSprite(out, (*pPanelButtons)[i], position); // FIXME
RenderClxSprite(out, (*PanelButtonDown)[i], position + Displacement { 4, -18 });
RenderClxSprite(out, (*PanelButtonDown)[i], position + Displacement { 4, 0 });
}
}

Expand Down

0 comments on commit 3b97290

Please sign in to comment.