From 7090e85224f6a0f29f651ce511fa218379167dd9 Mon Sep 17 00:00:00 2001 From: Chandler Cox Date: Tue, 16 Jul 2024 19:25:05 -0500 Subject: [PATCH] Fix not being able to drag a window tab all of the way to the right. --- Source/Editor/GUI/Docking/DockPanel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Editor/GUI/Docking/DockPanel.cs b/Source/Editor/GUI/Docking/DockPanel.cs index 3e00f3a65..5f229f25b 100644 --- a/Source/Editor/GUI/Docking/DockPanel.cs +++ b/Source/Editor/GUI/Docking/DockPanel.cs @@ -629,7 +629,7 @@ namespace FlaxEditor.GUI.Docking internal void MoveTabRight(int index) { - if (index < _tabs.Count - 2) + if (index < _tabs.Count - 1) { var tab = _tabs[index]; _tabs.RemoveAt(index);