mirror of
https://github.com/aseprite/aseprite.git
synced 2024-10-03 21:46:20 +00:00
Disable timeline range when we select other document
This commit is contained in:
parent
dedb470699
commit
09bfa3e61b
@ -142,6 +142,11 @@ void Timeline::updateUsingEditor(Editor* editor)
|
||||
|
||||
detachDocument();
|
||||
|
||||
if (m_range.enabled()) {
|
||||
m_range.disableRange();
|
||||
invalidate();
|
||||
}
|
||||
|
||||
// We always update the editor. In this way the timeline keeps in
|
||||
// sync with the active editor.
|
||||
m_editor = editor;
|
||||
|
Loading…
Reference in New Issue
Block a user