Skip to content

Commit

Permalink
fix: "empty" icons weren't serializing correctly for network transfer
Browse files Browse the repository at this point in the history
  • Loading branch information
desht committed Dec 23, 2024
1 parent 09712e7 commit 60025b6
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ public int hashCode() {
public boolean equals(Object o) {
return o == this;
}

@Override
public String toString() {
return ""; // see Icon.isNone()
}
};

private static final Color4I[] BLACK_A = Util.make(new Color4I[256], array -> {
Expand Down

0 comments on commit 60025b6

Please sign in to comment.