You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-29 16:16:38 +00:00
added rotation and scale support to gui controls
This commit is contained in:
@@ -105,6 +105,8 @@ void Container::fit_child_in_rect(Control *p_child,const Rect2& p_rect) {
|
||||
|
||||
p_child->set_pos(r.pos);
|
||||
p_child->set_size(r.size);
|
||||
p_child->set_rotation(0);
|
||||
p_child->set_scale(Vector2(1,1));
|
||||
}
|
||||
|
||||
void Container::queue_sort() {
|
||||
|
||||
Reference in New Issue
Block a user