Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
godot
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
godot
Commits
a6e3c84c
Unverified
Commit
a6e3c84c
authored
Apr 30, 2020
by
Ignacio Roldán Etcheverry
Committed by
GitHub
Apr 30, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #38328 from Nannaquin/master
Fix growMargin() not returning modified Rect2/Rect2i in Mono
parents
92d4a0cb
0ac6f4c4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Rect2.cs
modules/mono/glue/GodotSharp/GodotSharp/Core/Rect2.cs
+1
-1
Rect2i.cs
modules/mono/glue/GodotSharp/GodotSharp/Core/Rect2i.cs
+1
-1
No files found.
modules/mono/glue/GodotSharp/GodotSharp/Core/Rect2.cs
View file @
a6e3c84c
...
...
@@ -127,7 +127,7 @@ namespace Godot
{
var
g
=
this
;
g
.
GrowIndividual
(
Margin
.
Left
==
margin
?
by
:
0
,
g
=
g
.
GrowIndividual
(
Margin
.
Left
==
margin
?
by
:
0
,
Margin
.
Top
==
margin
?
by
:
0
,
Margin
.
Right
==
margin
?
by
:
0
,
Margin
.
Bottom
==
margin
?
by
:
0
);
...
...
modules/mono/glue/GodotSharp/GodotSharp/Core/Rect2i.cs
View file @
a6e3c84c
...
...
@@ -122,7 +122,7 @@ namespace Godot
{
var
g
=
this
;
g
.
GrowIndividual
(
Margin
.
Left
==
margin
?
by
:
0
,
g
=
g
.
GrowIndividual
(
Margin
.
Left
==
margin
?
by
:
0
,
Margin
.
Top
==
margin
?
by
:
0
,
Margin
.
Right
==
margin
?
by
:
0
,
Margin
.
Bottom
==
margin
?
by
:
0
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment