Mercurial > hg > svcore
comparison data/model/AlignmentModel.cpp @ 411:52303ec15cd2
* Permit holding Shift while dragging an instant or other edited thing,
to override the initial drag resistance (for #1928943 sticky time
instants)
* better handling of updates during progressive decode load
* ready() signal from model (used by vect)
author | Chris Cannam |
---|---|
date | Mon, 19 May 2008 17:23:11 +0000 |
parents | 6075c90744d4 |
children | 6502c33b1cb1 |
comparison
equal
deleted
inserted
replaced
410:9c7ebf2cd956 | 411:52303ec15cd2 |
---|---|
106 } | 106 } |
107 | 107 |
108 bool | 108 bool |
109 AlignmentModel::isReady(int *completion) const | 109 AlignmentModel::isReady(int *completion) const |
110 { | 110 { |
111 if (!m_pathBegun) { | 111 if (!m_pathBegun && m_rawPath) { |
112 if (completion) *completion = 0; | 112 if (completion) *completion = 0; |
113 return false; | 113 return false; |
114 } | 114 } |
115 if (m_pathComplete || !m_rawPath) { | 115 if (m_pathComplete || !m_rawPath) { |
116 if (completion) *completion = 100; | 116 if (completion) *completion = 100; |