timeline: skip gaps when moving blocks

This commit is contained in:
itsmattkc
2022-08-08 11:31:31 -07:00
parent 4f58268f08
commit a3d6ecc4fd
@@ -383,6 +383,10 @@ void PointerTool::InitiateDragInternal(Block *clicked_item,
} else {
// Prepare for a standard pointer move by creating ghosts for them and any related blocks
foreach (Block* block, clips) {
if (dynamic_cast<GapBlock*>(block)) {
continue;
}
// Create ghost for this block
auto ghost = AddGhostFromBlock(block, trim_mode, true);
Q_UNUSED(ghost)