Fix timeline multi-cell dragging (#2613)

This commit is contained in:
manongjohn 2019-08-04 21:54:02 -04:00 committed by shun-iwasawa
parent 7a6807b001
commit 9f8a4dfeb9

View file

@ -183,10 +183,7 @@ bool CellsMover::canMoveCells(const TPoint &pos) {
while (i < m_rowCount * m_colCount) {
TXshColumn::ColumnType srcType = getColumnTypeFromCell(i);
int dstIndex = c + i;
if (!m_orientation->isVerticalTimeline() &&
dstIndex >= xsh->getColumnCount())
return false;
TXshColumn *dstColumn = xsh->getColumn(dstIndex);
TXshColumn *dstColumn = xsh->getColumn(dstIndex);
if (srcType == TXshColumn::eZeraryFxType ||
srcType == TXshColumn::eSoundTextType)
return false;