minor code cleanups

This commit is contained in:
itsmattkc
2019-03-05 10:15:39 -08:00
parent f9e7c3a3dd
commit 95977143d0
8 changed files with 245 additions and 232 deletions
+5 -1
View File
@@ -1836,7 +1836,11 @@ void TimelineWidget::update_ghosts(const QPoint& mouse_pos, bool lock_frame) {
}
}
}
if (temp_frame_diff != frame_diff) panel_timeline->snapped = false;
// if the above validation changed the frame movement, it's unlikely we're still snapped
if (temp_frame_diff != frame_diff) {
panel_timeline->snapped = false;
}
// apply changes to ghosts
for (int i=0;i<panel_timeline->ghosts.size();i++) {