aboutsummaryrefslogtreecommitdiff
path: root/src/gui/Subsection.cpp
diff options
context:
space:
mode:
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)
{