Fix growMargin() not returning modified Rect2/Rect2i
(cherry picked from commit 0ac6f4c40b
)
This commit is contained in:
parent
cfd6bc7267
commit
9e4de37e88
|
@ -127,7 +127,7 @@ namespace Godot
|
||||||
{
|
{
|
||||||
var g = this;
|
var g = this;
|
||||||
|
|
||||||
g.GrowIndividual(Margin.Left == margin ? by : 0,
|
g = g.GrowIndividual(Margin.Left == margin ? by : 0,
|
||||||
Margin.Top == margin ? by : 0,
|
Margin.Top == margin ? by : 0,
|
||||||
Margin.Right == margin ? by : 0,
|
Margin.Right == margin ? by : 0,
|
||||||
Margin.Bottom == margin ? by : 0);
|
Margin.Bottom == margin ? by : 0);
|
||||||
|
|
Loading…
Reference in New Issue