mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-07 09:56:59 +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:
|
||||
if (m_document) {
|
||||
gfx::Point mousePos = static_cast<MouseMessage*>(msg)->position();
|
||||
setCursor(msg, hitTest(msg, mousePos));
|
||||
setCursor(msg, m_hot);
|
||||
return true;
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user