Karya, built on 2020-11-26T21:03:17 (patch 23b5be2d53a9e8e7d6136cda5aae2849abe5cded)
Safe HaskellNone

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 #