Skip to content

Commit

Permalink
Group transform true by default (#390)
Browse files Browse the repository at this point in the history
It fixed a weird bug i had (padding was ignored in some cases)
And looks like it is set to true by default in libGDX too: https://github.com/libgdx/libgdx/blob/master/gdx/src/com/badlogic/gdx/scenes/scene2d/Group.java#L42
  • Loading branch information
Scellow authored and prime31 committed Sep 26, 2018
1 parent 1edeb59 commit 7489705
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Nez.Portable/UI/Base/Group.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace Nez.UI
public class Group : Element, ICullable
{
internal List<Element> children = new List<Element>();
protected bool transform = false;
protected bool transform = true;
Matrix _previousBatcherTransform;
Rectangle? _cullingArea;

Expand Down

0 comments on commit 7489705

Please sign in to comment.