Fix not being able to drag a window tab all of the way to the right.

This commit is contained in:
Chandler Cox
2024-07-16 19:25:05 -05:00
parent 009e1aaebb
commit 7090e85224

View File

@@ -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);