mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +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)
|
// documentation of QWheelEvent)
|
||||||
int const delta = ev->delta() / 120;
|
int const delta = ev->delta() / 120;
|
||||||
if (ev->modifiers() & Qt::ControlModifier) {
|
if (ev->modifiers() & Qt::ControlModifier) {
|
||||||
lyxrc.zoom -= 5 * delta;
|
lyxrc.zoom += 5 * delta;
|
||||||
if (lyxrc.zoom < 10)
|
if (lyxrc.zoom < 10)
|
||||||
lyxrc.zoom = 10;
|
lyxrc.zoom = 10;
|
||||||
// The global QPixmapCache is used in GuiPainter to cache text
|
// The global QPixmapCache is used in GuiPainter to cache text
|
||||||
|
Loading…
Reference in New Issue
Block a user