Pause rendering when the window is minimized

This commit is contained in:
abcdefg30
2020-10-03 15:14:18 +02:00
committed by Paul Chote
parent 5667081764
commit 3276373745
5 changed files with 30 additions and 2 deletions

View File

@@ -33,6 +33,7 @@ namespace OpenRA
public RgbaSpriteRenderer RgbaSpriteRenderer { get; private set; }
public bool WindowHasInputFocus => Window.HasInputFocus;
public bool WindowIsSuspended => Window.IsSuspended;
public IReadOnlyDictionary<string, SpriteFont> Fonts;