mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-28 16:11:35 +00:00
Fix ui::set_mouse_position() from the merge of master and allegro-wrapper branches
This commit is contained in:
parent
443d151104
commit
a5a5d1db81
@ -288,15 +288,10 @@ gfx::Point get_mouse_position()
|
||||
|
||||
void set_mouse_position(const gfx::Point& newPos)
|
||||
{
|
||||
moved = true;
|
||||
|
||||
if (mouse_display)
|
||||
mouse_display->setMousePosition(newPos);
|
||||
|
||||
update_mouse_position(newPos);
|
||||
|
||||
m_x[1] = m_x[0];
|
||||
m_y[1] = m_y[0];
|
||||
_internal_set_mouse_position(newPos);
|
||||
}
|
||||
|
||||
MouseButtons jmouse_b(int antique)
|
||||
|
Loading…
x
Reference in New Issue
Block a user