浏览代码

Fix arrow pointing in the wrong direction in the Dock Position popup

Michael Alexsander 4 年之前
父节点
当前提交
f289b13b6b
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      editor/editor_node.cpp

+ 2 - 2
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));