Wrap no GC option in disabled block

This commit is contained in:
Liza 2023-09-30 11:47:06 +02:00
parent 0666d785df
commit 5e8b501b53
Signed by: liza
GPG Key ID: 7199F8D727D55F67

View File

@ -157,8 +157,10 @@ internal sealed class ConfigWindow : Window
} }
else else
{ {
ImGui.BeginDisabled();
int currentItem = 0; int currentItem = 0;
ImGui.Combo("Add Item", ref currentItem, new[] { "(Not part of a GC)" }, 1); ImGui.Combo("Add Item", ref currentItem, new[] { "(Not part of a GC)" }, 1);
ImGui.EndDisabled();
} }
ImGui.EndTabItem(); ImGui.EndTabItem();