From 776548e9169acde75e3363fba0e826b204ec7c8d Mon Sep 17 00:00:00 2001 From: ikpil Date: Fri, 9 Jun 2023 20:56:03 +0900 Subject: [PATCH] bugifx - ImGui button duplicate label --- src/DotRecast.Recast.Demo/Tools/CrowdProfilingTool.cs | 2 +- src/DotRecast.Recast.Demo/Tools/DynamicUpdateTool.cs | 2 +- src/DotRecast.Recast.Demo/Tools/JumpLinkBuilderTool.cs | 2 +- src/DotRecast.Recast.Demo/UI/RcSettingsView.cs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/DotRecast.Recast.Demo/Tools/CrowdProfilingTool.cs b/src/DotRecast.Recast.Demo/Tools/CrowdProfilingTool.cs index e844754..7e8cca9 100644 --- a/src/DotRecast.Recast.Demo/Tools/CrowdProfilingTool.cs +++ b/src/DotRecast.Recast.Demo/Tools/CrowdProfilingTool.cs @@ -74,7 +74,7 @@ public class CrowdProfilingTool ImGui.SliderInt("Max Iterations", ref maxIterations, 0, 4000); ImGui.NewLine(); - if (ImGui.Button("Start")) + if (ImGui.Button("Start Crowd Profiling")) { if (navMesh != null) { diff --git a/src/DotRecast.Recast.Demo/Tools/DynamicUpdateTool.cs b/src/DotRecast.Recast.Demo/Tools/DynamicUpdateTool.cs index 4e826f9..4ad7202 100644 --- a/src/DotRecast.Recast.Demo/Tools/DynamicUpdateTool.cs +++ b/src/DotRecast.Recast.Demo/Tools/DynamicUpdateTool.cs @@ -594,7 +594,7 @@ public class DynamicUpdateTool : ITool ImGui.SliderFloat("Max Sample Error", ref detailSampleMaxError, 0f, 16f, "%.1f"); ImGui.NewLine(); - if (ImGui.Button("Build")) + if (ImGui.Button("Build Dynamic mesh")) { if (dynaMesh != null) { diff --git a/src/DotRecast.Recast.Demo/Tools/JumpLinkBuilderTool.cs b/src/DotRecast.Recast.Demo/Tools/JumpLinkBuilderTool.cs index 1f0f575..d3dead0 100644 --- a/src/DotRecast.Recast.Demo/Tools/JumpLinkBuilderTool.cs +++ b/src/DotRecast.Recast.Demo/Tools/JumpLinkBuilderTool.cs @@ -355,7 +355,7 @@ public class JumpLinkBuilderTool : ITool //option.buildTypes = buildTypes; bool build = false; bool buildOffMeshConnections = false; - if (ImGui.Button("Build")) + if (ImGui.Button("Build Jump Link")) { build = true; } diff --git a/src/DotRecast.Recast.Demo/UI/RcSettingsView.cs b/src/DotRecast.Recast.Demo/UI/RcSettingsView.cs index cfbd5ac..8628dc5 100644 --- a/src/DotRecast.Recast.Demo/UI/RcSettingsView.cs +++ b/src/DotRecast.Recast.Demo/UI/RcSettingsView.cs @@ -201,7 +201,7 @@ public class RcSettingsView : IRcView ImGui.Text($"Build Time: {buildTime} ms"); ImGui.Separator(); - buildTriggered = ImGui.Button("Build"); + buildTriggered = ImGui.Button("Build Nav Mesh"); const string strLoadNavMesh = "Load Nav Mesh..."; if (ImGui.Button(strLoadNavMesh)) {