Revert "Fix #100536: Control set_position resizes offsets/anchors"

This reverts commit ca57fe1db4.
This commit is contained in:
Pāvels Nadtočajevs 2025-05-16 14:21:18 +03:00
parent 4976b38dec
commit 25ae5c8ab4
No known key found for this signature in database
GPG key ID: 8413210218EF35D2
3 changed files with 9 additions and 46 deletions

View file

@ -307,7 +307,6 @@ 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();