-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
Add a warning when a profile has an unknown color scheme #3033
Conversation
@@ -590,13 +539,13 @@ ColorScheme* CascadiaSettings::_FindMatchingColorScheme(const Json::Value& schem | |||
{ | |||
for (auto& scheme : _globals.GetColorSchemes()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: file a followup here. now that we have a map, no need to iterate all of them. key=name=able to find layering scheme
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm OK with this with Dustin's comments. @DHowett-MSFT since @zadjii-msft is out, do you want to fix your own nits so we can get this into 1910? Do you want me to fix them for him?
I'll do it and resolve the conflicts. |
🎉 Handy links: |
Summary of the Pull Request
Add a warning when the user sets their
colorScheme
to a scheme that doesn't exists. When that occurs, we'll set their color table to the campbell scheme, to prevent it from being just entirely black.PR Checklist