Fix direction of mouse wheel zoom in print preview
Make zooming work the same as in all the other programs rather than zooming in/out in the reverse direction. Closes #19215.
This commit is contained in:
parent
de2b81b06f
commit
233c487dfd
1 changed files with 1 additions and 1 deletions
|
|
@ -1058,7 +1058,7 @@ void wxPreviewCanvas::OnMouseWheel(wxMouseEvent& event)
|
|||
else
|
||||
delta = 50;
|
||||
|
||||
if ( event.GetWheelRotation() > 0 )
|
||||
if ( event.GetWheelRotation() < 0 )
|
||||
delta = -delta;
|
||||
|
||||
int newZoom = currentZoom + delta;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue