mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-11 17:59:17 +00:00
@@ -1,4 +1,4 @@
|
||||
// Copyright © 2018 Paddy Xu
|
||||
// Copyright © 2018 Paddy Xu
|
||||
//
|
||||
// This file is part of QuickLook program.
|
||||
//
|
||||
@@ -366,16 +366,6 @@ namespace QuickLook.Plugin.ImageViewer
|
||||
{
|
||||
e.Handled = true;
|
||||
|
||||
if ((Keyboard.Modifiers & ModifierKeys.Control) == 0)
|
||||
{
|
||||
// normal scroll
|
||||
viewPanel.ScrollToVerticalOffset(viewPanel.VerticalOffset - e.Delta);
|
||||
|
||||
ImageScrolled?.Invoke(this, e.Delta);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
// zoom
|
||||
var newZoom = ZoomFactor + ZoomFactor * e.Delta / 120 * 0.1;
|
||||
|
||||
|
Reference in New Issue
Block a user