Yet more ui tweaks
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user