From f8221f51e8a0e2440a04d6eccf1e9f9ed5809ff3 Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Wed, 29 Feb 2012 23:00:59 -0800 Subject: [PATCH] Fix bug in drawing of long note names. --- src/canvas.C | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/canvas.C b/src/canvas.C index c563cc8..d569402 100644 --- a/src/canvas.C +++ b/src/canvas.C @@ -169,6 +169,8 @@ Canvas::update_mapping ( void ) m.grid->draw_row_names( this ); + m.draw = true; + if ( m.margin_left != old_margin ) { signal_resize(); @@ -387,7 +389,7 @@ Canvas::draw_row_name ( int y, const char *name, int color ) int bx = m.origin_x; int by = m.origin_y + m.margin_top + y * m.div_h; - int bw = min( m.margin_left, m.width / 8 ); + int bw = m.margin_left; int bh = m.div_h; if ( y < 0 || y >= m.vp->h )