mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-01 00:23:35 +00:00
Fixed bug clearing tool icons.
This commit is contained in:
parent
7d240c861f
commit
5af9b7809f
@ -453,7 +453,7 @@ void SkinneableTheme::regen()
|
||||
|
||||
// Crop the tool-icon from the sheet
|
||||
BITMAP* toolicon = create_bitmap(w, h);
|
||||
clear_to_color(toolicon, bitmap_mask_color(m_sheet_bmp));
|
||||
clear_to_color(toolicon, bitmap_mask_color(toolicon));
|
||||
|
||||
set_alpha_blender();
|
||||
draw_trans_sprite(toolicon, m_sheet_bmp, -x, -y);
|
||||
|
Loading…
Reference in New Issue
Block a user