Skip to content

Commit

Permalink
FIX uncolorizeH2dDrawable
Browse files Browse the repository at this point in the history
  • Loading branch information
deepnight committed Dec 9, 2024
1 parent eecbdf8 commit 352e28f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dn/Col.hx
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ abstract Col(Int) from Int to Int {

/** Apply color to a Drawable using its Vector color **/
public static inline function uncolorizeH2dDrawable(e:h2d.Drawable) {
e.color.setColor(0);
e.color.setColor( white(true) );
}

public inline function toTile(wid=1, hei=1, alpha=1.0) : h2d.Tile {
Expand Down

0 comments on commit 352e28f

Please sign in to comment.