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
This commit is contained in:
pentarctagon 2024-02-02 12:42:21 -06:00 committed by Pentarctagon
parent e63bc7c743
commit e3ee472352
11 changed files with 1 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 200 B

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 556 B

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 556 B

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 183 B

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 188 B

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 360 B

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 249 B

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 260 B

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 174 B

After

Width:  |  Height:  |  Size: 5 KiB

View file

@ -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 << "'";

View file

@ -1848,7 +1848,6 @@ struct not_alpha
};
}
surface get_non_transparent_portion(const surface &surf)
{
if(surf == nullptr)