Yet more ui tweaks

This commit is contained in:
Asriel Camora
2023-07-16 00:09:37 +04:00
parent 1cc83ca959
commit cb9dcb358f
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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);
+2 -2
View File
@@ -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(
+1 -1
View File
@@ -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;