|
|
@ -120,11 +120,12 @@ namespace Avalonia.Rendering.Composition.Server |
|
|
var oldTransformedContentBounds = TransformedOwnContentBounds; |
|
|
var oldTransformedContentBounds = TransformedOwnContentBounds; |
|
|
var oldCombinedTransformedClipBounds = _combinedTransformedClipBounds; |
|
|
var oldCombinedTransformedClipBounds = _combinedTransformedClipBounds; |
|
|
|
|
|
|
|
|
|
|
|
var dirtyOldBounds = false; |
|
|
if (_parent?.IsDirtyComposition == true) |
|
|
if (_parent?.IsDirtyComposition == true) |
|
|
{ |
|
|
{ |
|
|
IsDirtyComposition = true; |
|
|
IsDirtyComposition = true; |
|
|
_isDirtyForUpdate = true; |
|
|
_isDirtyForUpdate = true; |
|
|
|
|
|
dirtyOldBounds = true; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
GlobalTransformMatrix = newTransform; |
|
|
GlobalTransformMatrix = newTransform; |
|
|
@ -161,8 +162,7 @@ namespace Avalonia.Rendering.Composition.Server |
|
|
|
|
|
|
|
|
if (wasVisible != IsVisibleInFrame) |
|
|
if (wasVisible != IsVisibleInFrame) |
|
|
_isDirtyForUpdate = true; |
|
|
_isDirtyForUpdate = true; |
|
|
|
|
|
|
|
|
var dirtyOldBounds = false; |
|
|
|
|
|
// Invalidate previous rect and queue new rect based on visibility
|
|
|
// Invalidate previous rect and queue new rect based on visibility
|
|
|
if (positionChanged) |
|
|
if (positionChanged) |
|
|
{ |
|
|
{ |
|
|
|