Fix the scroll direction in the pretty image view. Fixes issue #1226
This commit is contained in:
parent
7e3c0911ee
commit
2d53db13c3
|
@ -161,6 +161,6 @@ void PrettyImageView::resizeEvent(QResizeEvent* e) {
|
|||
}
|
||||
|
||||
void PrettyImageView::wheelEvent(QWheelEvent* e) {
|
||||
const int d = e->delta() > 0 ? 1 : -1;
|
||||
const int d = e->delta() > 0 ? -1 : 1;
|
||||
ScrollTo(current_index_ + d, true);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue