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

Save display count on app exit #15

Closed
wants to merge 1 commit into from
Closed

Save display count on app exit #15

wants to merge 1 commit into from

Conversation

hugeBlack
Copy link

It seems that display count is only saved when windows is shutting down and is never read. This PR fixed this issue.

@nomi-san
Copy link
Owner

This feature is added before the last release, but need an option to allow it works.
These lines were in right place, no need to move them.

static async void UpdateRoutine(CancellationToken token)
{
// TODO: restore added displays
//int initialCount = Config.DisplayCount;
//if (initialCount > 0)
//{
// for (int i = 0; i < initialCount; i++)
// AddDisplay();
//}

@hugeBlack
Copy link
Author

Oh, I missed these lines.

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

Successfully merging this pull request may close these issues.

2 participants