log

age author description
Thu, 17 Oct 2019 14:44:22 +0100 Chris Cannam Permit getScaleProvidingLayerForUnit to return a dormant layer if there is no visible alternative. This is necessary to avoid the scale disappearing in Tony when the spectrogram is toggled off.
Thu, 17 Oct 2019 11:12:54 +0100 Chris Cannam Pass a y-coord, optionally, to Layer::snapToFeatureFrame. This is necessary for BoxLayer which needs to coordinate its snaps with the box it is highlighting for editing. Then in BoxLayer, merge getPointToDrag and getLocalPoints into a single getLocalPoint and use this throughout.
Thu, 17 Oct 2019 10:26:21 +0100 Chris Cannam Update getPointToDrag to prefer boxes that are containing the mouse position in height as well as width