]> O.S.I.I.S - jp/crow.git/commitdiff
debug stacking computation
authorjpbruyere <jp.bruyere@hotmail.com>
Mon, 15 Feb 2016 10:09:34 +0000 (11:09 +0100)
committerjpbruyere <jp.bruyere@hotmail.com>
Mon, 15 Feb 2016 10:09:34 +0000 (11:09 +0100)
src/GraphicObjects/GenericStack.cs

index 3f2ec8a136535aa55d5309596be92c7ca924767b..7f4dbea891f8afea4280fb53aa5c45bc8c17dd38 100644 (file)
@@ -165,7 +165,7 @@ namespace Crow
                                                cptChildren++;
                                                if (Children [i].Height == 0) {
                                                        if (!(stretchedGO == null && Height >= 0)){
-                                                               Children [i].Width = -1;
+                                                               Children [i].Height = -1;
                                                                return false;
                                                        }
                                                        stretchedGO = Children [i];