Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/AvaloniaUI/AvaloniaVS
Browse files Browse the repository at this point in the history
  • Loading branch information
Takoooooo committed May 27, 2022
2 parents 6c2b8e7 + 9d42c54 commit db34b22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AvaloniaVS.Shared/Views/AvaloniaPreviewer.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ protected override void OnPreviewMouseWheel(MouseWheelEventArgs e)

if (designer.TryProcessZoomLevelValue(out var currentZoomLevel))
{
currentZoomLevel += e.Delta * 0.01;
currentZoomLevel += e.Delta > 0 ? 0.25 : -0.25;

if (currentZoomLevel < 0.125)
{
Expand Down

0 comments on commit db34b22

Please sign in to comment.