Skip to content

Commit 59bb289

Browse files
Fix: Fixed an issue where tabs weren't placed in the correct order when dragged from other windows (#16519)
1 parent 8ef2426 commit 59bb289

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Files.App/UserControls/TabBar/TabBar.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ private async void TabView_TabStripDrop(object sender, DragEventArgs e)
204204
{
205205
var item = tabStrip.ContainerFromIndex(i) as TabViewItem;
206206

207-
if (e.GetPosition(item).Y - item.ActualHeight < 0)
207+
if (e.GetPosition(item).X - item.ActualWidth < 0)
208208
{
209209
index = i;
210210
break;

0 commit comments

Comments
 (0)