aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/PrivateContainer.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-03-21 08:53:31 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2016-04-14 12:44:46 +0200
commit0b005fefe69b67bf335c3c00944bbac73e8b4831 (patch)
tree6fef2ccda18e6ae0e26a9f890341c8dacb84e9c5 /src/GraphicObjects/PrivateContainer.cs
parentb7bd81982e6313237e4062148612f1d27c09f2df (diff)
remove Bounds rectangle as private field for dims
Diffstat (limited to 'src/GraphicObjects/PrivateContainer.cs')
-rw-r--r--src/GraphicObjects/PrivateContainer.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GraphicObjects/PrivateContainer.cs b/src/GraphicObjects/PrivateContainer.cs
index a399567c..f3385a88 100644
--- a/src/GraphicObjects/PrivateContainer.cs
+++ b/src/GraphicObjects/PrivateContainer.cs
@@ -144,11 +144,11 @@ namespace Crow
case LayoutingType.Y:
break;
case LayoutingType.Width:
- if (this.Bounds.Width < 0)
+ if (Width < 0)
this.RegisterForLayouting (LayoutingType.Width);
break;
case LayoutingType.Height:
- if (this.Bounds.Height < 0)
+ if (Height < 0)
this.RegisterForLayouting (LayoutingType.Height);
break;
}