mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Merge pull request #104357 from FilipeAlexCosta/control-set-position
Fix `Control.set_position` resizes offsets/anchors
This commit is contained in:
commit
c6394a1b8b
3 changed files with 46 additions and 9 deletions
|
|
@ -301,6 +301,7 @@ private:
|
|||
|
||||
void _compute_offsets(Rect2 p_rect, const real_t p_anchors[4], real_t (&r_offsets)[4]);
|
||||
void _compute_anchors(Rect2 p_rect, const real_t p_offsets[4], real_t (&r_anchors)[4]);
|
||||
void _compute_edge_positions(Rect2 p_rect, real_t (&r_edge_positions)[4]);
|
||||
|
||||
void _set_layout_mode(LayoutMode p_mode);
|
||||
void _update_layout_mode();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue