We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c53486 commit fd31f49Copy full SHA for fd31f49
UICatalog/UICatalogTop.cs
@@ -184,7 +184,8 @@ View [] CreateThemeMenuItems ()
184
185
_themesRg = new ()
186
{
187
- HighlightStyle = HighlightStyle.Hover
+ HighlightStyle = HighlightStyle.None,
188
+ SelectedItem = Themes.Keys.ToList ().IndexOf (CachedTheme!.Replace ("_", string.Empty))
189
};
190
191
_themesRg.SelectedItemChanged += (_, args) =>
@@ -205,7 +206,11 @@ View [] CreateThemeMenuItems ()
205
206
207
menuItems.Add (new Line ());
208
- _topSchemeRg = new ();
209
+ _topSchemeRg = new ()
210
+ {
211
212
+ SelectedItem = Colors.ColorSchemes.Keys.ToList().IndexOf(CachedTopLevelColorScheme!)
213
+ };
214
215
_topSchemeRg.SelectedItemChanged += (_, args) =>
216
0 commit comments