From 5e8b501b53cb642ebac9e89064676cfb9c2a4109 Mon Sep 17 00:00:00 2001 From: Liza Carvelli Date: Sat, 30 Sep 2023 11:47:06 +0200 Subject: [PATCH] Wrap no GC option in disabled block --- Deliveroo/Windows/ConfigWindow.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Deliveroo/Windows/ConfigWindow.cs b/Deliveroo/Windows/ConfigWindow.cs index 5bf0f2d..1029edb 100644 --- a/Deliveroo/Windows/ConfigWindow.cs +++ b/Deliveroo/Windows/ConfigWindow.cs @@ -157,8 +157,10 @@ internal sealed class ConfigWindow : Window } else { + ImGui.BeginDisabled(); int currentItem = 0; ImGui.Combo("Add Item", ref currentItem, new[] { "(Not part of a GC)" }, 1); + ImGui.EndDisabled(); } ImGui.EndTabItem();