summaryrefslogtreecommitdiffstats
path: root/main/tests/test_gui.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2020-03-12 09:37:40 -0300
committerJuan Linietsky <reduzio@gmail.com>2020-03-26 15:49:42 +0100
commit441f1a5fe9a3bf0e4e5dab578f793500b1ff6e3d (patch)
tree6421bcc3235e6fdcd726244ac7d455886e17734b /main/tests/test_gui.cpp
parent543fb1c4dadd75914d595b089820aef42e691075 (diff)
downloadredot-engine-441f1a5fe9a3bf0e4e5dab578f793500b1ff6e3d.tar.gz
Popups are now windows also (broken!)
Diffstat (limited to 'main/tests/test_gui.cpp')
-rw-r--r--main/tests/test_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/tests/test_gui.cpp b/main/tests/test_gui.cpp
index 645588529f..5ad1b2fe31 100644
--- a/main/tests/test_gui.cpp
+++ b/main/tests/test_gui.cpp
@@ -220,7 +220,7 @@ public:
richtext->add_text("faeries.\n");
richtext->pop();
richtext->add_text("In this new episode, we will attempt to ");
- richtext->push_font(richtext->get_font("mono_font", "Fonts"));
+ richtext->push_font(richtext->get_theme_font("mono_font", "Fonts"));
richtext->push_color(Color(0.7, 0.5, 1.0));
richtext->add_text("deliver something nice");
richtext->pop();