aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCrystalwarrior <Varsash@Gmail.com>2020-07-07 01:46:22 +0300
committerGitHub <noreply@github.com>2020-07-06 17:46:22 -0500
commitc29fe7c7ba234e1819f5b5fb566173b4a1831fa4 (patch)
tree4bb9d39daf858829cd8060110841999f29ce5f78
parente827f560f3c7ea3279a81b2737802734e80c431d (diff)
Regenerate the background when reload_theme is pressed to prevent scaling issues (#181)
-rw-r--r--src/courtroom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp
index 9920b3bf..8f7e1b79 100644
--- a/src/courtroom.cpp
+++ b/src/courtroom.cpp
@@ -4396,7 +4396,7 @@ void Courtroom::on_reload_theme_clicked()
text_state = 3;
// to update status on the background
- set_background(current_background);
+ set_background(current_background, true);
}
void Courtroom::on_back_to_lobby_clicked()