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
Wed, 16 Oct 2019 16:20:12 +0100 Chris Cannam Make audio dial more visible in Mac dark mode
Wed, 16 Oct 2019 13:02:52 +0100 Chris Cannam Return true from getValueExtents always, just with no unit in the case where we don't have a nice neat scale. This should preserve the property of preventing other layers auto-aligning to us, while also ensuring we don't get overlooked for the purposes of drawing our own scale in a situation where a scale-less layer is on top of us
Wed, 16 Oct 2019 13:01:23 +0100 Chris Cannam Debug output