forked from liza/Workshoppa
Disable queue inputs if crafting
This commit is contained in:
parent
8b8245bf0a
commit
36f6200f62
@ -100,7 +100,7 @@ internal sealed class MainWindow : Window
|
|||||||
|
|
||||||
ImGui.Separator();
|
ImGui.Separator();
|
||||||
ImGui.Text("Queue:");
|
ImGui.Text("Queue:");
|
||||||
//ImGui.BeginDisabled();
|
ImGui.BeginDisabled(_plugin.CurrentStage != Stage.Stopped);
|
||||||
for (int i = 0; i < _configuration.ItemQueue.Count; ++ i)
|
for (int i = 0; i < _configuration.ItemQueue.Count; ++ i)
|
||||||
{
|
{
|
||||||
ImGui.PushID($"ItemQueue{i}");
|
ImGui.PushID($"ItemQueue{i}");
|
||||||
@ -141,10 +141,10 @@ internal sealed class MainWindow : Window
|
|||||||
|
|
||||||
ImGui.EndCombo();
|
ImGui.EndCombo();
|
||||||
}
|
}
|
||||||
//ImGui.EndDisabled();
|
ImGui.EndDisabled();
|
||||||
|
|
||||||
ImGui.Separator();
|
ImGui.Separator();
|
||||||
ImGui.Text($"Stage: {_plugin.CurrentStage}");
|
ImGui.Text($"Debug (Stage): {_plugin.CurrentStage}");
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Save()
|
private void Save()
|
||||||
|
Loading…
Reference in New Issue
Block a user