ai-dev-gallery
ai-dev-gallery copied to clipboard
Fixed memory management issues in OpacityMaskView
OpacityMaskView wasn't handling resources properly on unload, causing memory leaks and also changing
private static CompositionBrush GetVisualBrush(UIElement element)
to
private static CompositionSurfaceBrush GetVisualBrush(UIElement element)
improves performance.