File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/Files.App/UserControls/MultitaskingControl Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,8 @@ public HorizontalMultitaskingControl()
2727 var flowDirectionSetting = new Microsoft . Windows . ApplicationModel . Resources . ResourceManager ( ) . CreateResourceContext ( ) . QualifierValues [ "LayoutDirection" ] ;
2828
2929 var appWindowTitleBar = App . GetAppWindow ( App . Window ) . TitleBar ;
30- RightPaddingColumn . Width = ( flowDirectionSetting == "RTL" ) ? new GridLength ( appWindowTitleBar . LeftInset ) : new GridLength ( appWindowTitleBar . RightInset ) ;
30+ double rightPaddingColumnWidth = flowDirectionSetting is "RTL" ? appWindowTitleBar . LeftInset : appWindowTitleBar . RightInset ;
31+ RightPaddingColumn . Width = new GridLength ( rightPaddingColumnWidth >= 0 ? rightPaddingColumnWidth : 0 ) ;
3132 }
3233
3334 private void HorizontalTabView_TabItemsChanged ( TabView sender , Windows . Foundation . Collections . IVectorChangedEventArgs args )
You can’t perform that action at this time.
0 commit comments