|
|
|
@ -529,7 +529,7 @@ namespace Avalonia.Controls |
|
|
|
/// Handles a paint notification from <see cref="ITopLevelImpl.Resized"/>.
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="rect">The dirty area.</param>
|
|
|
|
protected virtual void HandlePaint(Rect rect) |
|
|
|
private void HandlePaint(Rect rect) |
|
|
|
{ |
|
|
|
Renderer.Paint(rect); |
|
|
|
} |
|
|
|
@ -537,7 +537,7 @@ namespace Avalonia.Controls |
|
|
|
/// <summary>
|
|
|
|
/// Handles a closed notification from <see cref="ITopLevelImpl.Closed"/>.
|
|
|
|
/// </summary>
|
|
|
|
protected virtual void HandleClosed() |
|
|
|
private protected virtual void HandleClosed() |
|
|
|
{ |
|
|
|
Renderer.SceneInvalidated -= SceneInvalidated; |
|
|
|
// We need to wait for the renderer to complete any in-flight operations
|
|
|
|
@ -595,7 +595,7 @@ namespace Avalonia.Controls |
|
|
|
/// <see cref="ITopLevelImpl.ScalingChanged"/>.
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="scaling">The window scaling.</param>
|
|
|
|
protected virtual void HandleScalingChanged(double scaling) |
|
|
|
private void HandleScalingChanged(double scaling) |
|
|
|
{ |
|
|
|
LayoutHelper.InvalidateSelfAndChildrenMeasure(this); |
|
|
|
ScalingChanged?.Invoke(this, EventArgs.Empty); |
|
|
|
@ -615,7 +615,7 @@ namespace Avalonia.Controls |
|
|
|
return false; |
|
|
|
} |
|
|
|
|
|
|
|
protected virtual void HandleTransparencyLevelChanged(WindowTransparencyLevel transparencyLevel) |
|
|
|
private void HandleTransparencyLevelChanged(WindowTransparencyLevel transparencyLevel) |
|
|
|
{ |
|
|
|
if(_transparencyFallbackBorder != null) |
|
|
|
{ |
|
|
|
|