mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Merge branch 'feature/avalonia.11' into development
This commit is contained in:
commit
329eeb8a5c
16 files changed
+76
-60
No files matched your search
@@ -48,11 +48,6 @@ public partial class SurfaceEditorView : ReactiveUserControl<SurfaceEditorViewMo
|
||||
private void UpdateZoomBorderBackground()
|
||||
{
|
||||
if (ContainerZoomBorder.Background is VisualBrush visualBrush)
|
||||
{
|
||||
visualBrush.DestinationRect = new RelativeRect(ContainerZoomBorder.OffsetX * -1, ContainerZoomBorder.OffsetY * -1, 20, 20, RelativeUnit.Absolute);
|
||||
// Workaround
|
||||
// This fixes an issue where the container is not invalidated, which leaves behind a 'smear' since Avalonia 11 rc1, check if still required later
|
||||
ContainerZoomBorder.InvalidateVisual();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user