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

added _change_notify in Control::set_scale to fix iss48936
This commit is contained in:
Rémi Verschelde 2021-06-01 23:00:44 +02:00 committed by GitHub
commit 4fe8941f8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;