Line 218 of the Fly component, there is indeed a better way to replicate 50 * "." in C#:
string pb = new string('.', 50);
Alternatively, it looks like it can be simplified further.
Replace line 332 with:
string pbString = new string('|', lnCount) + new string('.', pbLength - lnCount);
and at the top of the UpdateProgressBar method, add:
int pbLength = 50;
Then get rid of the pbChars elsewhere above.
Hi @jramsden271! Thank you for opening this issue. We are not actively developing the legacy plugins anymore. I still keep this issue open in case we wanted to re-write it for the new LBT plugins. Cheers.
Line 218 of the Fly component, there is indeed a better way to replicate
50 * "."
in C#:string pb = new string('.', 50);
Alternatively, it looks like it can be simplified further. Replace line 332 with:
string pbString = new string('|', lnCount) + new string('.', pbLength - lnCount);
and at the top of theUpdateProgressBar
method, add:int pbLength = 50;
Then get rid of the pbChars elsewhere above.