Browse files

Fixed inverted zooming with mouse wheel

  • Loading branch information...
1 parent 7f4141b commit 88ce89430edc7cf3fda7c81224ff9acda2e9a498 @Mezomish committed Feb 23, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/app/qsci/JuffScintilla.cpp
View
4 src/app/qsci/JuffScintilla.cpp
@@ -182,10 +182,10 @@ void JuffScintilla::focusOutEvent(QFocusEvent* e) {
void JuffScintilla::wheelEvent(QWheelEvent* e) {
if ( e->modifiers() & Qt::ControlModifier ) {
if ( e->delta() < 0 ) {
- zoomIn();
+ zoomOut();
}
else if ( e->delta() > 0 ) {
- zoomOut();
+ zoomIn();
}
}
else {

0 comments on commit 88ce894

Please sign in to comment.