summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorEric M <itsjusteza@gmail.com>2021-02-24 22:25:15 +1000
committerEric M <itsjusteza@gmail.com>2021-02-24 23:16:22 +1000
commitd91e915d7978b36e0741f6e0c01173bc1b72a97e (patch)
tree73cc41c760005fbe419684d66798ae342737df74 /scene/gui
parenta9304723192cc361188ced958415bad06bc08b7f (diff)
Fixed 'nonexistent action' errors spammed at startup on OSX
Diffstat (limited to 'scene/gui')
-rw-r--r--scene/gui/rich_text_label.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/rich_text_label.cpp b/scene/gui/rich_text_label.cpp
index a79c633502..682584d73f 100644
--- a/scene/gui/rich_text_label.cpp
+++ b/scene/gui/rich_text_label.cpp
@@ -1578,11 +1578,11 @@ void RichTextLabel::_gui_input(Ref<InputEvent> p_event) {
if (k->is_pressed()) {
bool handled = false;
- if (k->is_action("ui_pageup") && vscroll->is_visible_in_tree()) {
+ if (k->is_action("ui_page_up") && vscroll->is_visible_in_tree()) {
vscroll->set_value(vscroll->get_value() - vscroll->get_page());
handled = true;
}
- if (k->is_action("ui_pagedown") && vscroll->is_visible_in_tree()) {
+ if (k->is_action("ui_page_down") && vscroll->is_visible_in_tree()) {
vscroll->set_value(vscroll->get_value() + vscroll->get_page());
handled = true;
}