private void OnVisibilityChanged(object sender, Abstractions.VisibilityChangedEventArgs e) { if (e.Visible && !this.isVisible) { this.renderNeeded = true; } this.isVisible = e.Visible; }
private void PlatformWindow_VisibilityChanged(object sender, GameFramework.Abstractions.VisibilityChangedEventArgs e) { this.isVisible = e.Visible; }