mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-30 15:32:38 +00:00
Add support for Editor::autoScroll() on all platforms
This commit is contained in:
parent
27c8cda988
commit
e60c20d5a4
@ -1272,10 +1272,8 @@ gfx::Point Editor::autoScroll(MouseMessage* msg, AutoScroll dir)
|
||||
}
|
||||
setEditorScroll(scroll);
|
||||
|
||||
#if defined(_WIN32) || defined(__APPLE__)
|
||||
mousePos -= delta;
|
||||
ui::set_mouse_position(mousePos);
|
||||
#endif
|
||||
|
||||
m_oldPos = mousePos;
|
||||
mousePos = gfx::Point(
|
||||
|
Loading…
x
Reference in New Issue
Block a user