Browse Source
Merge branch 'master' into feature/brush-modification
pull/1881/head
Steven Kirk
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/Avalonia.Controls/DrawingPresenter.cs
|
|
|
@ -49,7 +49,7 @@ namespace Avalonia.Controls |
|
|
|
if (Drawing != null) |
|
|
|
{ |
|
|
|
using (context.PushPreTransform(_transform)) |
|
|
|
using (context.PushClip(Bounds)) |
|
|
|
using (context.PushClip(new Rect(Bounds.Size))) |
|
|
|
{ |
|
|
|
Drawing.Draw(context); |
|
|
|
} |
|
|
|
|