Skip to content

Commit

Permalink
Merge pull request #48957 from phil-shenk/iss48936-control_set_scale
Browse files Browse the repository at this point in the history
added _change_notify in Control::set_scale to fix iss48936
  • Loading branch information
akien-mga authored Jun 1, 2021
2 parents e0fb05a + 04729d9 commit 4fe8941
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scene/gui/control.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4fe8941

Please sign in to comment.