From 36f6200f62e326efb8d74fdfeaf2f08d6cb52ebb Mon Sep 17 00:00:00 2001 From: Liza Carvelli Date: Sun, 1 Oct 2023 23:33:09 +0200 Subject: [PATCH] Disable queue inputs if crafting --- Workshoppa/Windows/MainWindow.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Workshoppa/Windows/MainWindow.cs b/Workshoppa/Windows/MainWindow.cs index f1aedfe..e06b9f4 100644 --- a/Workshoppa/Windows/MainWindow.cs +++ b/Workshoppa/Windows/MainWindow.cs @@ -100,7 +100,7 @@ internal sealed class MainWindow : Window ImGui.Separator(); ImGui.Text("Queue:"); - //ImGui.BeginDisabled(); + ImGui.BeginDisabled(_plugin.CurrentStage != Stage.Stopped); for (int i = 0; i < _configuration.ItemQueue.Count; ++ i) { ImGui.PushID($"ItemQueue{i}"); @@ -141,10 +141,10 @@ internal sealed class MainWindow : Window ImGui.EndCombo(); } - //ImGui.EndDisabled(); + ImGui.EndDisabled(); ImGui.Separator(); - ImGui.Text($"Stage: {_plugin.CurrentStage}"); + ImGui.Text($"Debug (Stage): {_plugin.CurrentStage}"); } private void Save()