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

Random theme toggle doesn’t always change theme #3

Closed
tcbutler320 opened this issue Jun 15, 2021 · 0 comments
Closed

Random theme toggle doesn’t always change theme #3

tcbutler320 opened this issue Jun 15, 2021 · 0 comments

Comments

@tcbutler320
Copy link
Owner

tcbutler320 commented Jun 15, 2021

Describe the bug
Every few random theme toggles will not change theme, likely because the randomize function will pick the same theme in use

Fix

Do something like;

If randomtheme = current theme,
Pick new randomtheme
@tcbutler320 tcbutler320 mentioned this issue Jun 18, 2021
Merged
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

No branches or pull requests

1 participant