Commit 0b516f0a authored by JanKusanagi's avatar JanKusanagi
Browse files

Fix weird issue with the mouse wheel when trying to go past 500

parent da114878
v1.4.1 (December 2017)
v1.4.1 (December 30, 2017)
- Ability to save and restore post drafts.
- Post publisher can grow much bigger.
- System notifications now include a button to show the program.
- Properly bring main window to the front when restoring from tray icon,
and when clicking the "Show" button in a notification (depends on your WM).
- Fixes in the profile editor.
- Fixes in the profile editor and image viewer.
- Other minor improvements.
......
......@@ -586,8 +586,12 @@ void ImageViewer::zoomToFull()
*/
void ImageViewer::setFullMode()
{
m_fitToWindow = false;
this->drawImage();
// Only if not already in full mode, to avoid weird effects with wheel events
if (m_fitToWindow)
{
m_fitToWindow = false;
this->drawImage();
}
}
......
......@@ -74,9 +74,9 @@ void IvGraphicsView::wheelEvent(QWheelEvent *event)
{
emit zoomOutRequested();
}
}
event->accept();
event->accept();
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment