mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-06 14:53:48 +00:00
PowerControl: MenuRoot update VisibleChanged and Render() to accept nulls
This commit is contained in:
parent
bbc4cf8200
commit
130a6fb745
5 changed files with 22 additions and 32 deletions
|
|
@ -18,7 +18,7 @@ namespace PowerControl.Menu
|
|||
collection.Add(toolStripItem);
|
||||
}
|
||||
|
||||
public override string Render(MenuItem selected)
|
||||
public override string Render(MenuItem? selected)
|
||||
{
|
||||
return Color("---", Colors.Blue);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue