summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-09-24 08:49:45 +0200
committerGitHub <noreply@github.com>2021-09-24 08:49:45 +0200
commit10801b90f99eb67b2999e3dc8f42cc82c7799f3e (patch)
treee09d5c1ea5f52013c5e3f83eb1f0913bdf95dc44
parentcc23d6d27094af4a8ed51cf9ac7a473011e1161f (diff)
parentf289b13b6be2b446f5cf2b745c3440c69338cca3 (diff)
Merge pull request #52994 from YeldhamDev/dock_popup_arrow_fix
-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));