Skip to content

Commit

Permalink
Fix for app freeze when using screen DPI like 125%
Browse files Browse the repository at this point in the history
  • Loading branch information
sungaila committed Apr 7, 2024
1 parent 2117a87 commit 22c5672
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 4 deletions.
Binary file added etc/Store_150x150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added etc/Store_300x300.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added etc/Store_71x71.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion src/Commands/DriveCommands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ public static class DriveCommands
CloseButtonText = App.ResourceLoader.GetString("ContentDialogCancel"),
DefaultButton = ContentDialogButton.Primary,
Content = new RemoveDriveView(),
UseLayoutRounding = true,
RequestedTheme = App.RequestedAppTheme,
DataContext = dataContext
};
Expand Down
1 change: 0 additions & 1 deletion src/Commands/MappingCommands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ internal static DriveViewModel GetDriveViewModel(MappingViewModel mappingViewMod
PrimaryButtonCommand = dataContext.AddVirtualDrive,
PrimaryButtonCommandParameter = dataContext,
Content = new AddDriveView(),
UseLayoutRounding = true,
RequestedTheme = App.RequestedAppTheme,
DataContext = dataContext
};
Expand Down
3 changes: 1 addition & 2 deletions src/Views/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
IsSettingsVisible="True"
Loaded="NavigationView_Loaded"
PaneDisplayMode="Top"
SelectionChanged="NavigationView_SelectionChanged"
UseLayoutRounding="True">
SelectionChanged="NavigationView_SelectionChanged">
<NavigationView.MenuItems>
<NavigationViewItem x:Uid="NavigationViewItem"
Icon="MapDrive"
Expand Down
1 change: 1 addition & 0 deletions src/Views/MappingView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@

<controls:Segmented x:Name="Segmented"
Grid.Column="4"
Height="33"
SelectedIndex="{Binding SelectedIndex, Mode=TwoWay}"
SelectionChanged="Segmented_SelectionChanged"
SelectionMode="Single">
Expand Down

0 comments on commit 22c5672

Please sign in to comment.