Eli Arbel 8 years ago
parent
commit
578c911d11
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/Avalonia.Controls/DrawingPresenter.cs

+ 1 - 0
src/Avalonia.Controls/DrawingPresenter.cs

@@ -49,6 +49,7 @@ namespace Avalonia.Controls
             if (Drawing != null)
             {
                 using (context.PushPreTransform(_transform))
+                using (context.PushClip(Bounds))
                 {
                     Drawing.Draw(context);
                 }