Skip to content

Commit

Permalink
Fix: Fixed an issue where there wasn't space to right click folder in… (
Browse files Browse the repository at this point in the history
  • Loading branch information
yaira2 committed Mar 25, 2024
1 parent 5a43a18 commit bdc78e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
8 changes: 2 additions & 6 deletions src/Files.App/Views/Layouts/ColumnLayoutPage.xaml
Expand Up @@ -175,6 +175,7 @@
<SemanticZoom.ZoomedInView>
<ListView
x:Name="FileList"
Padding="8,0,8,0"
wct:ScrollViewerExtensions.EnableMiddleClickScrolling="{x:Bind IsMiddleClickToScrollEnabled, Mode=OneWay}"
x:FieldModifier="public"
AllowDrop="{x:Bind InstanceViewModel.IsPageTypeSearchResults, Converter={StaticResource BoolNegationConverter}, Mode=OneWay}"
Expand All @@ -190,6 +191,7 @@
IsDoubleTapEnabled="True"
IsRightTapEnabled="True"
IsTabStop="True"
ItemContainerTransitions="{x:Null}"
ItemsSource="{x:Bind CollectionViewSource.View, Mode=OneWay}"
Loaded="FileList_Loaded"
PreviewKeyDown="FileList_PreviewKeyDown"
Expand All @@ -199,12 +201,6 @@
SelectionMode="Extended"
Tapped="FileList_ItemTapped">

<ListView.ItemContainerTransitions>
<TransitionCollection>
<AddDeleteThemeTransition />
</TransitionCollection>
</ListView.ItemContainerTransitions>

<ListView.ItemTemplate>
<DataTemplate x:DataType="filesystem:ListedItem">
<Grid
Expand Down
8 changes: 1 addition & 7 deletions src/Files.App/Views/Layouts/DetailsLayoutPage.xaml
Expand Up @@ -235,6 +235,7 @@
FocusVisualSecondaryThickness="0"
IsDoubleTapEnabled="True"
IsTabStop="True"
ItemContainerTransitions="{x:Null}"
ItemsSource="{x:Bind CollectionViewSource.View, Mode=OneWay}"
Loaded="FileList_Loaded"
LosingFocus="FileList_LosingFocus"
Expand All @@ -246,13 +247,6 @@
Tapped="FileList_ItemTapped"
Visibility="{x:Bind FolderSettings.IsLayoutModeChanging, Converter={StaticResource NegatedBoolToVisibilityConverter}, Mode=OneWay}">

<!-- ListView Item Transitions -->
<ListView.ItemContainerTransitions>
<TransitionCollection>
<AddDeleteThemeTransition />
</TransitionCollection>
</ListView.ItemContainerTransitions>

<!-- ListView Header -->
<ListView.Header>
<Grid
Expand Down

0 comments on commit bdc78e5

Please sign in to comment.