瀏覽代碼

Fixing typo for rect_position in _change_notify call for Control

Kristupas Stumbrys 8 年之前
父節點
當前提交
0251e9eb01
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scene/gui/control.cpp

+ 1 - 1
scene/gui/control.cpp

@@ -1352,7 +1352,7 @@ void Control::_change_notify_margins() {
 	_change_notify("margin_top");
 	_change_notify("margin_right");
 	_change_notify("margin_bottom");
-	_change_notify("rect_pos");
+	_change_notify("rect_position");
 	_change_notify("rect_size");
 }