Remove transparent padding from the status icon image files.
Just removing transparency from all images on the top bar and side bar causes other issues, particularly with the unit sprite and the clock icon alignment. Fixes #8335
Before Width: | Height: | Size: 200 B After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 556 B After Width: | Height: | Size: 9.2 KiB |
Before Width: | Height: | Size: 556 B After Width: | Height: | Size: 9.2 KiB |
Before Width: | Height: | Size: 183 B After Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 188 B After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 360 B After Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 249 B After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 260 B After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 174 B After Width: | Height: | Size: 5 KiB |
|
@ -3066,7 +3066,7 @@ void display::draw_report(const std::string& report_name, bool tooltip_test)
|
|||
if (used_ellipsis) goto skip_element;
|
||||
|
||||
// Draw an image element.
|
||||
texture img(image::get_texture(t+"~CROP_TRANSPARENCY()"));
|
||||
texture img(image::get_texture(t));
|
||||
|
||||
if (!img) {
|
||||
ERR_DP << "could not find image for report: '" << t << "'";
|
||||
|
|
|
@ -1848,7 +1848,6 @@ struct not_alpha
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
surface get_non_transparent_portion(const surface &surf)
|
||||
{
|
||||
if(surf == nullptr)
|
||||
|
|