summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorMichael Alexsander <michaelalexsander@protonmail.com>2021-09-23 21:32:48 -0300
committerMichael Alexsander <michaelalexsander@protonmail.com>2021-09-23 21:32:48 -0300
commitf289b13b6be2b446f5cf2b745c3440c69338cca3 (patch)
tree8c934e2689414ac12436b82c0593535908bdeb1e /editor
parent01f692c173b9926ae764a4a4c9a54c266a21272b (diff)
Fix arrow pointing in the wrong direction in the Dock Position popup
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_node.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index b4850e6ebb..e719797e03 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -6105,9 +6105,9 @@ EditorNode::EditorNode() {
dock_tab_move_right = memnew(Button);
dock_tab_move_right->set_flat(true);
if (gui_base->is_layout_rtl()) {
- dock_tab_move_right->set_icon(theme->get_icon("Forward", "EditorIcons"));
- } else {
dock_tab_move_right->set_icon(theme->get_icon("Back", "EditorIcons"));
+ } else {
+ dock_tab_move_right->set_icon(theme->get_icon("Forward", "EditorIcons"));
}
dock_tab_move_right->set_focus_mode(Control::FOCUS_NONE);
dock_tab_move_right->connect("pressed", callable_mp(this, &EditorNode::_dock_move_right));