MCPcopy Create free account
hub / github.com/LMMS/lmms / updatePosition

Method updatePosition

src/core/Track.cpp:491–497  ·  view source on GitHub ↗

! \brief Updates a trackContentObjectView's position. * * Ask our track view to change our position. Then make sure that the * track view is updated in case this position has changed the track * view's length. * */

Source from the content-addressed store, hash-verified

489 *
490 */
491void TrackContentObjectView::updatePosition()
492{
493 m_trackView->getTrackContentWidget()->changePosition();
494 // moving a TCO can result in change of song-length etc.,
495 // therefore we update the track-container
496 m_trackView->trackContainerView()->update();
497}
498
499
500

Callers

nothing calls this directly

Calls 4

changePositionMethod · 0.80
getTrackContentWidgetMethod · 0.80
updateMethod · 0.45
trackContainerViewMethod · 0.45

Tested by

no test coverage detected