From 6705205e2f2a55c00fe1ca769888acce20bd209f Mon Sep 17 00:00:00 2001 From: Chandler Cox Date: Fri, 17 May 2024 09:41:02 -0500 Subject: [PATCH] Update cursor unlock text with correct input key bind. --- Source/Editor/Windows/GameWindow.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Editor/Windows/GameWindow.cs b/Source/Editor/Windows/GameWindow.cs index 349301ec9..34a97286c 100644 --- a/Source/Editor/Windows/GameWindow.cs +++ b/Source/Editor/Windows/GameWindow.cs @@ -860,7 +860,7 @@ namespace FlaxEditor.Windows { var alpha = Mathf.Saturate(-animTime / fadeOutTime); var rect = new Rectangle(new Float2(6), Size - 12); - var text = "Press Shift+F11 to unlock the mouse"; + var text = $"Press {Editor.Options.Options.Input.DebuggerUnlockMouse} to unlock the mouse"; Render2D.DrawText(style.FontSmall, text, rect + new Float2(1.0f), style.Background * alpha, TextAlignment.Near, TextAlignment.Far); Render2D.DrawText(style.FontSmall, text, rect, style.Foreground * alpha, TextAlignment.Near, TextAlignment.Far); }