diff --git a/Craftimizer/ImGuiUtils.cs b/Craftimizer/ImGuiUtils.cs index 20a8531..ce97140 100644 --- a/Craftimizer/ImGuiUtils.cs +++ b/Craftimizer/ImGuiUtils.cs @@ -146,7 +146,7 @@ internal static class ImGuiUtils public static unsafe void Hyperlink(string text, string url) { ImGui.TextUnformatted(text); - UnderlineLastItem(*ImGui.GetStyleColorVec4(ImGuiCol.Button)); + UnderlineLastItem(*ImGui.GetStyleColorVec4(ImGuiCol.Text)); if (ImGui.IsItemHovered()) { ImGui.SetMouseCursor(ImGuiMouseCursor.Hand); diff --git a/Craftimizer/Windows/SettingsWindow.cs b/Craftimizer/Windows/SettingsWindow.cs index d7e2a04..66a9178 100644 --- a/Craftimizer/Windows/SettingsWindow.cs +++ b/Craftimizer/Windows/SettingsWindow.cs @@ -16,7 +16,7 @@ public class SettingsWindow : Window SizeConstraints = new WindowSizeConstraints() { - MinimumSize = new Vector2(400, 800), + MinimumSize = new Vector2(400, 600), MaximumSize = new Vector2(float.MaxValue, float.MaxValue) }; Size = SizeConstraints.Value.MinimumSize; @@ -257,7 +257,7 @@ public class SettingsWindow : Window ImGuiUtils.EndGroupPanel(); ImGuiUtils.BeginGroupPanel("Solver Score Weights (Advanced)"); - ImGui.TextWrapped("All values should add up to 1. Otherwise, the Score Storage Threshold must be changed."); + ImGui.TextWrapped("All values should add up to 1. Otherwise, the Score Storage Threshold should be changed."); ImGuiHelpers.ScaledDummy(10); DrawOption( diff --git a/Solver/Crafty/SolverConfig.cs b/Solver/Crafty/SolverConfig.cs index 0dea5ab..552a302 100644 --- a/Solver/Crafty/SolverConfig.cs +++ b/Solver/Crafty/SolverConfig.cs @@ -29,7 +29,7 @@ public readonly record struct SolverConfig ExplorationConstant = 4; MaxStepCount = 25; MaxRolloutStepCount = MaxStepCount; - ForkCount = Environment.ProcessorCount; + ForkCount = Math.Max(Environment.ProcessorCount, 32); FurcatedActionCount = ForkCount / 2; StrictActions = true;