From fd6a9a2f9dd9cef0ab1d71cd2c28f1d7c79f8b7e Mon Sep 17 00:00:00 2001 From: OmniTroid Date: Fri, 3 Mar 2017 01:14:52 +0100 Subject: [PATCH] fixed an issue related to scaling charselect background --- courtroom.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/courtroom.cpp b/courtroom.cpp index 2301715..f70db1c 100644 --- a/courtroom.cpp +++ b/courtroom.cpp @@ -544,12 +544,6 @@ void Courtroom::set_widgets() set_size_and_pos(ui_evidence, "evidence_background"); ui_evidence->set_image("evidencebackground.png"); - //char select stuff under here - - ui_char_select_background->move(0, 0); - ui_char_select_background->resize(m_courtroom_width, m_courtroom_height); - ui_char_select_background->set_image("charselect_background.png"); - //buttons are in the constructor ui_selector->set_image("char_selector.png"); @@ -670,6 +664,7 @@ void Courtroom::set_char_select() else this->resize(f_charselect.width, f_charselect.height); + ui_char_select_background->resize(f_charselect.width, f_charselect.height); ui_char_select_background->set_image("charselect_background.png"); }