[[Fix the dark border of text written in hexes]]
The dark border of text written in hexes (def%, turn to reach) was in DARK_COLOUR, which is some dark blue (why?). Change it to black. Also kill this now unused and misleading DARK_COLOUR.
This commit is contained in:
parent
247a78dec2
commit
125938d4e2
1 changed files with 1 additions and 1 deletions
|
@ -802,7 +802,7 @@ void display::draw_text_in_hex(const gamemap::location& loc, const std::string&
|
|||
);
|
||||
|
||||
surface text_surf = font::get_rendered_text(text, font_sz, color);
|
||||
surface back_surf = font::get_rendered_text(text, font_sz, font::DARK_COLOUR);
|
||||
surface back_surf = font::get_rendered_text(text, font_sz, font::BLACK_COLOUR);
|
||||
const int x = get_location_x(loc) - text_surf->w/2
|
||||
+ static_cast<int>(x_in_hex* hex_size());
|
||||
const int y = get_location_y(loc) - text_surf->h/2
|
||||
|
|
Loading…
Add table
Reference in a new issue