Disable queue inputs if crafting

This commit is contained in:
Liza 2023-10-01 23:33:09 +02:00
parent 8b8245bf0a
commit 36f6200f62
Signed by: liza
GPG Key ID: 7199F8D727D55F67

View File

@ -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()