Doc Generator Update

This commit is contained in:
Josef 2026-02-06 10:04:03 +01:00
parent 537926b050
commit a83574eb46
1 changed files with 4 additions and 2 deletions

View File

@ -30,14 +30,16 @@ namespace Rokojori.DocGenerator
return name + ".svg"; return name + ".svg";
} }
foreach ( var bt in baseTypes ) for ( int i = 0; i < baseTypes.Count; i++ )
{ {
var bt = baseTypes[ i ];
if ( icons.IndexOf( bt + ".svg" ) != -1 ) if ( icons.IndexOf( bt + ".svg" ) != -1 )
{ {
return bt + ".svg"; return bt + ".svg";
} }
} }
return "CSharp.svg"; return "CSharp.svg";
} }