mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-05 06:15:26 +00:00
Try to recreate overlay if OSDIndex is 0, or not-0
This commit is contained in:
parent
4de31ed48c
commit
1eb5067260
2 changed files with 22 additions and 12 deletions
|
|
@ -168,7 +168,9 @@ namespace PerformanceOverlay
|
|||
|
||||
try
|
||||
{
|
||||
osdClose();
|
||||
// recreate OSD if not index 0
|
||||
if (osd != null && osd.OSDIndex() != 0)
|
||||
osdClose();
|
||||
|
||||
if (osd == null)
|
||||
osd = new OSD("PerformanceOverlay");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue