mirror of
https://github.com/aseprite/aseprite.git
synced 2024-10-03 21:46:20 +00:00
Fix issue with Timeline scroll: when clicking with mouse wheel the scroll jumps to other location
This commit is contained in:
parent
a5b1bd1875
commit
cb0f89ea3a
@ -284,6 +284,7 @@ bool Timeline::onProcessMessage(Message* msg)
|
||||
if (mouseMsg->middle() || key[KEY_SPACE]) {
|
||||
captureMouse();
|
||||
m_state = STATE_SCROLLING;
|
||||
m_oldPos = static_cast<MouseMessage*>(msg)->position();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user