- if (a_block.size() == 1)
- draw_annotation(a_block.front(), p, h, pp, y, row_color, row_title_width);
- else
- draw_annotation_block(a_block, p, h, y, row_color);
+ if (block_ann_count == 1)
+ draw_annotation(*prev_ann, p, h, pp, y, row_color, row_title_width);
+ else if (block_ann_count > 0)
+ draw_annotation_block(block_start, prev_end, block_class,
+ block_class_uniform, p, h, y, row_color);