Karya, built on 2022-03-21T01:30:44 (patch 89d1651424c35e564138d93424a157ff87457245)
Safe HaskellSafe-Inferred

Cmd.BlockResize

Description

Support to add or remove time in a score, and have it propagate up to callers.

Synopsis

Documentation

update_callers :: Ui.M m => BlockId -> TrackTime -> TrackTime -> m [Tree.Tree Update] Source #

The block has changed size by adding or removing time at the given point. Find its callers and update the event durations. This doesn't update any rulers, so call either push_down_rulers or update_callers_rulers.

push_down_rulers :: Ui.M m => [Tree.Tree Update] -> m () Source #