Browse Source
Merge pull request #9912 from danielmayost/missingFlowDirectionMovement
Move missing calling InvalidateMirrorTransform
feature/support-more-image-formats
Benedikt Stebner
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
1 additions and
8 deletions
-
src/Avalonia.Base/Visual.cs
-
src/Avalonia.Controls/Control.cs
|
|
|
@ -480,6 +480,7 @@ namespace Avalonia |
|
|
|
{ |
|
|
|
AttachToCompositor(compositingRenderer.Compositor); |
|
|
|
} |
|
|
|
InvalidateMirrorTransform(); |
|
|
|
OnAttachedToVisualTree(e); |
|
|
|
AttachedToVisualTree?.Invoke(this, e); |
|
|
|
InvalidateVisual(); |
|
|
|
|
|
|
|
@ -392,14 +392,6 @@ namespace Avalonia.Controls |
|
|
|
OnUnloadedCore(); |
|
|
|
} |
|
|
|
|
|
|
|
/// <inheritdoc/>
|
|
|
|
protected override void OnAttachedToVisualTree(VisualTreeAttachmentEventArgs e) |
|
|
|
{ |
|
|
|
base.OnAttachedToVisualTree(e); |
|
|
|
|
|
|
|
InvalidateMirrorTransform(); |
|
|
|
} |
|
|
|
|
|
|
|
/// <inheritdoc/>
|
|
|
|
protected override void OnGotFocus(GotFocusEventArgs e) |
|
|
|
{ |
|
|
|
|