snap-revisited: Fix occasional variance between the visible ruler and the snap grid

Multimedia / Ardour - Ben Loftis [harrisonconsoles.com] - 20 February 2021 16:35 UTC

code changes: bbt_ variables don't need to be global to editor; we only use these in compute_bbt_ruler_scale now anyway drive the ruler with the same coarse-ified bbt_ruler_scale that we calculate for the snap grid

7e196e7559 snap-revisited: Fix occasional variance between the visible ruler and the snap grid
gtk2_ardour/editor.cc | 2 -
gtk2_ardour/editor.h | 3 -
gtk2_ardour/editor_rulers.cc | 415 ++++++++++++++++++-------------------------
3 files changed, 169 insertions(+), 251 deletions(-)

  • Share