Skip to content

Commit

Permalink
Fix base color for Radiobuttons in SaveStates panel (#1293)
Browse files Browse the repository at this point in the history
  • Loading branch information
midwan committed May 13, 2024
1 parent 8eade20 commit eed7f28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/osdep/gui/PanelSavestate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ void InitPanelSavestate(const config_category& category)
for (int i = 0; i < 15; ++i) {
radioButtons[i] = new gcn::RadioButton(std::to_string(i), "radiostategroup");
radioButtons[i]->setId("State" + std::to_string(i));
radioButtons[i]->setBaseColor(gui_baseCol);
radioButtons[i]->setBackgroundColor(colTextboxBackground);
radioButtons[i]->addActionListener(savestateActionListener);
}
Expand Down

0 comments on commit eed7f28

Please sign in to comment.