mirror of
https://github.com/MaSzyna-EU07/StarterNG.git
synced 2026-11-19 15:02:15 +01:00
Warn when the experimental renderer is picked
This commit is contained in:
@@ -448,6 +448,13 @@ public partial class Settings : UserControl, ISettingsCapture
|
||||
SaveStatus.Text = App.Loc["SettingsSaved"];
|
||||
}
|
||||
|
||||
private void RenderEngineCb_OnSelectionChanged(object? sender, SelectionChangedEventArgs e)
|
||||
{
|
||||
if (RenderEngineWarning is not null)
|
||||
RenderEngineWarning.IsVisible =
|
||||
SimulatorSettings.RenderEngines.ElementAtOrDefault(RenderEngineCb.SelectedIndex) == "experimental";
|
||||
}
|
||||
|
||||
private UpdateChannel SelectedChannel() =>
|
||||
UpdateChannelCb.SelectedIndex == 1 ? UpdateChannel.Staging : UpdateChannel.Stable;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user