Replies: 1 comment
-
Are you asking about this line: https://github.com/mono/SkiaSharp/blob/main/source/SkiaSharp.Views/SkiaSharp.Views.WPF/SKElement.cs#L47 Are you noticing any issues as a result or just curious? If this code is to be believed, then it is empty and maybe not needed: https://github.com/dotnet/wpf/blob/main/src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/UIElement.cs#L979-L981 I see other controls in the source do not call base. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Does SKElement need to call base.OnRender in OnRender? The parameter of the OnRender method is DrawingContext drawingContext used for drawing, and there is no other drawing logic. SKElement takes over the drawing of the interface, so base.OnRender is not needed.
Beta Was this translation helpful? Give feedback.
All reactions