From 7489705e1eb9a7ebc5daf1a7e74ca7a4b85fc6be Mon Sep 17 00:00:00 2001 From: Scellow Date: Wed, 26 Sep 2018 02:09:15 +0200 Subject: [PATCH] Group transform true by default (#390) 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 --- Nez.Portable/UI/Base/Group.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nez.Portable/UI/Base/Group.cs b/Nez.Portable/UI/Base/Group.cs index e3b16193d..5cd583f5f 100644 --- a/Nez.Portable/UI/Base/Group.cs +++ b/Nez.Portable/UI/Base/Group.cs @@ -7,7 +7,7 @@ namespace Nez.UI public class Group : Element, ICullable { internal List children = new List(); - protected bool transform = false; + protected bool transform = true; Matrix _previousBatcherTransform; Rectangle? _cullingArea;