Skip to content

Commit d526c3e

Browse files
committed
CQ: Fix
1 parent 96dad45 commit d526c3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Files.App/Views/MainPage.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ private int SetTitleBarDragRegion(InputNonClientPointerSource source, SizeInt32
139139
{
140140
var height = (int)TabControl.ActualHeight;
141141

142-
var x = AppLanguageHelper.FlowDirection == FlowDirection.LeftToRight ? 0 : (int)TabControl.DragArea.ActualWidth;
142+
var x = AppLanguageHelper.FlowDirection == FlowDirection.LeftToRight ? 0 : (int)TabControl.ActualWidth;
143143
var width = (int)(TabControl.ActualWidth + TabControl.Margin.Left - TabControl.DragArea.ActualWidth);
144144

145145
source.SetRegionRects(NonClientRegionKind.Passthrough, [getScaledRect(this, new RectInt32(x, 0, width, height))]);

0 commit comments

Comments
 (0)