mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-16 22:18:30 +00:00
Missing PointerType in regular mouse movement events on OS X
This commit is contained in:
parent
f447b457db
commit
ac6d930d08
@ -236,6 +236,10 @@ bool is_key_pressed(KeyScancode scancode)
|
||||
ev.setType(Event::MouseMove);
|
||||
ev.setPosition(get_local_mouse_pos(self, event));
|
||||
ev.setModifiers(get_modifiers_from_nsevent(event));
|
||||
|
||||
if (m_pointerType != she::PointerType::Unknown)
|
||||
ev.setPointerType(m_pointerType);
|
||||
|
||||
queue_event(ev);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user