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:
Abdelrazak Younes 2008-07-17 08:36:02 +00:00
parent eb0e3ff7b1
commit 9f433432dd

View File

@ -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