소스 검색

Merge pull request #48957 from phil-shenk/iss48936-control_set_scale

added _change_notify in Control::set_scale to fix iss48936
Rémi Verschelde 4 년 전
부모
커밋
4fe8941f8c
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      scene/gui/control.cpp

+ 1 - 0
scene/gui/control.cpp

@@ -2586,6 +2586,7 @@ void Control::set_scale(const Vector2 &p_scale) {
 	}
 	update();
 	_notify_transform();
+	_change_notify("rect_scale");
 }
 Vector2 Control::get_scale() const {
 	return data.scale;