Albeoris / Memoria.FFPR

MIT License
69 stars 5 forks source link

Hexadecimal color from config being replaced on input #35

Closed Silvris closed 2 years ago

Silvris commented 2 years ago

When reading color from config, it will reset to "white" when reading any hexadecimal color string. Colors with defined names such as "cyan" are not effected. I believe the cause of this is line 123 of ColorTypeConverter, where it should be if(!ColorUtility.TryParseHtmlString) instead of if(ColorUtility.TryParseHtmlString).

Albeoris commented 2 years ago

You are absolutly right! Thank you!