1
0
Fork 0

fix vertical tape gap

This commit is contained in:
mfranz 2006-08-01 17:25:51 +00:00
parent cc10e1986f
commit 866b7c0cbb

View file

@ -345,9 +345,9 @@ void HUD::Tape::draw(void) // (HUD_scale * pscale)
continue;
if (_label_gap == 0.0)
draw_text(x, y, buf);
else if (b < _center_x - _label_gap && t < _center_x - _label_gap)
else if (b < _center_y - _label_gap && t < _center_y - _label_gap)
draw_text(x, y, buf);
else if (b > _center_x + _label_gap && t > _center_x + _label_gap)
else if (b > _center_y + _label_gap && t > _center_y + _label_gap)
draw_text(x, y, buf);
}
}