diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2017-01-01 18:23:48 +0100 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2017-01-01 18:23:48 +0100 |
| commit | 7fa6c6ca89e7a3aeadd815867de8a2a3b955134a (patch) | |
| tree | 4ffc82920a7e417a18d420d06469a5af51e39495 /src/GraphicObjects/PrivateContainer.cs | |
| parent | 6f5e0f0a2f4ea382626703c673f5df8d7c9a972b (diff) | |
code clean and debug
Diffstat (limited to 'src/GraphicObjects/PrivateContainer.cs')
| -rw-r--r-- | src/GraphicObjects/PrivateContainer.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/GraphicObjects/PrivateContainer.cs b/src/GraphicObjects/PrivateContainer.cs index 0afefeb9..9c65e935 100644 --- a/src/GraphicObjects/PrivateContainer.cs +++ b/src/GraphicObjects/PrivateContainer.cs @@ -158,8 +158,10 @@ namespace Crow gr.Clip (); } - if (child != null) - child.Paint (ref gr); + if (child != null) { + if (child.Visible) + child.Paint (ref gr); + } gr.Restore (); } protected override void UpdateCache (Context ctx) |