mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-08 12:40:50 +00:00
Fix kSetCursorMessage handling in Timeline::onProcessMessage
This commit is contained in:
parent
922a485832
commit
b5db58d21c
@ -765,7 +765,7 @@ bool Timeline::onProcessMessage(Message* msg)
|
|||||||
case kSetCursorMessage:
|
case kSetCursorMessage:
|
||||||
if (m_document) {
|
if (m_document) {
|
||||||
gfx::Point mousePos = static_cast<MouseMessage*>(msg)->position();
|
gfx::Point mousePos = static_cast<MouseMessage*>(msg)->position();
|
||||||
setCursor(msg, hitTest(msg, mousePos));
|
setCursor(msg, m_hot);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user