mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-07 23:33:52 +00:00
Reduce OSD flickering
This commit is contained in:
parent
7a66bb8858
commit
75b47af114
3 changed files with 15 additions and 5 deletions
|
|
@ -266,8 +266,8 @@ namespace PowerControl
|
|||
|
||||
try
|
||||
{
|
||||
// recreate OSD if not index 0
|
||||
if (osd != null && osd.OSDIndex() == 0)
|
||||
// recreate OSD if index 0
|
||||
if (OSDHelpers.OSDIndex("Power Control") == 0 && OSD.GetOSDCount() > 1)
|
||||
osdClose();
|
||||
if (osd == null)
|
||||
osd = new OSD("Power Control");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue