mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
invert crtl+wouse wheel zoom direction
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25684 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
eb0e3ff7b1
commit
9f433432dd
@ -779,7 +779,7 @@ void GuiWorkArea::wheelEvent(QWheelEvent * ev)
|
||||
// documentation of QWheelEvent)
|
||||
int const delta = ev->delta() / 120;
|
||||
if (ev->modifiers() & Qt::ControlModifier) {
|
||||
lyxrc.zoom -= 5 * delta;
|
||||
lyxrc.zoom += 5 * delta;
|
||||
if (lyxrc.zoom < 10)
|
||||
lyxrc.zoom = 10;
|
||||
// The global QPixmapCache is used in GuiPainter to cache text
|
||||
|
Loading…
Reference in New Issue
Block a user