mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-05 21:57:20 +00:00
Include device in double-click event on Skia/Win
This commit is contained in:
parent
955f86fc9e
commit
47708a6826
@ -411,6 +411,12 @@ namespace she {
|
||||
msg == WM_LBUTTONDBLCLK ? Event::LeftButton:
|
||||
msg == WM_RBUTTONDBLCLK ? Event::RightButton:
|
||||
msg == WM_MBUTTONDBLCLK ? Event::MiddleButton: Event::NoneButton);
|
||||
|
||||
if (m_device != Event::UnknownDevice) {
|
||||
ev.setDevice(m_device);
|
||||
ev.setPressure(m_pressure);
|
||||
}
|
||||
|
||||
queueEvent(ev);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user