mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-06 06:58:15 +00:00
Fix invalidation of the Timeline range on kMouseDownMessage
This commit is contained in:
parent
559c3df6de
commit
761ccd8217
@ -747,6 +747,7 @@ bool Timeline::onProcessMessage(Message* msg)
|
||||
clearAndInvalidateRange();
|
||||
m_range.startRange(m_layer, m_clk.frame, Range::kFrames);
|
||||
m_startRange = m_range;
|
||||
invalidateRange();
|
||||
|
||||
setFrame(m_clk.frame, true);
|
||||
}
|
||||
@ -772,6 +773,7 @@ bool Timeline::onProcessMessage(Message* msg)
|
||||
m_range.startRange(m_rows[m_clk.layer].layer(),
|
||||
m_frame, Range::kLayers);
|
||||
m_startRange = m_range;
|
||||
invalidateRange();
|
||||
|
||||
// Did the user select another layer?
|
||||
if (old_layer != m_clk.layer) {
|
||||
@ -911,6 +913,7 @@ bool Timeline::onProcessMessage(Message* msg)
|
||||
m_range.startRange(m_rows[m_clk.layer].layer(),
|
||||
m_clk.frame, Range::kCels);
|
||||
m_startRange = m_range;
|
||||
invalidateRange();
|
||||
}
|
||||
|
||||
// Select the new clicked-part.
|
||||
|
Loading…
Reference in New Issue
Block a user