aboutsummaryrefslogtreecommitdiff
path: root/src/gui/Subsection.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-10-27 13:56:03 +0100
committerdec05eba <dec05eba@protonmail.com>2024-10-27 13:59:17 +0100
commit80ff6582a95854712221bf4c84252584566ac041 (patch)
tree50a4c72cf29b7c30b4bbc7c6b8c73523cd8e4a00 /src/gui/Subsection.cpp
parent59dfd87c21026ef4dc713c3e0648cfa89d534557 (diff)
Fix window not visible in fullscreen applications
Diffstat (limited to 'src/gui/Subsection.cpp')
-rw-r--r--src/gui/Subsection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/Subsection.cpp b/src/gui/Subsection.cpp
index a03c65d..16d6828 100644
--- a/src/gui/Subsection.cpp
+++ b/src/gui/Subsection.cpp
@@ -12,7 +12,7 @@ namespace gsr {
static const float title_spacing_scale = 0.015f;
Subsection::Subsection(const char *title, std::unique_ptr<Widget> inner_widget, mgl::vec2f size) :
- label(&get_theme().title_font, title, get_theme().text_color),
+ label(&get_theme().title_font, title, get_color_theme().text_color),
inner_widget(std::move(inner_widget)),
size(size)
{