Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repeating characters for the Fly component #496

Open
jramsden271 opened this issue Dec 6, 2021 · 1 comment
Open

Repeating characters for the Fly component #496

jramsden271 opened this issue Dec 6, 2021 · 1 comment

Comments

@jramsden271
Copy link

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.

@mostaphaRoudsari
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants