Karya, built on 2023-08-29T07:47:28 (patch 7a412d5d6ba4968ca4155ef276a062ccdeb9109a)
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 #