Skip to content

Commit

Permalink
Merge pull request #34 from eviltwo/fix-steam-gamepad-editor
Browse files Browse the repository at this point in the history
Fix package title when not installed
  • Loading branch information
eviltwo authored Jul 8, 2024
2 parents e20ca8f + 5075a49 commit e7f8572
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ private static void DrawPackageInfo(
{
var foldoutStyle = new GUIStyle(EditorStyles.foldoutHeader);
foldoutStyle.richText = true;
var foldoutTitle = installed ? $"{packageTitle} <color=green>(Installed)</color>" : "Steamworks <color=red>(Not installed)</color>";
var foldoutTitle = installed ? $"{packageTitle} <color=green>(Installed)</color>" : $"{packageTitle} <color=red>(Not installed)</color>";
foldout = EditorGUILayout.BeginFoldoutHeaderGroup(foldout, foldoutTitle, foldoutStyle);
if (foldout)
{
Expand Down

0 comments on commit e7f8572

Please sign in to comment.