Fixed off-tinted cells

This commit is contained in:
Anuken 2021-10-17 16:03:05 -04:00
parent a8ffd6c520
commit a72adef051
2 changed files with 1 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@ -464,7 +464,7 @@ public class Generators{
Pixmap cell = baseCell.copy(); Pixmap cell = baseCell.copy();
//replace with 0xffd37fff : 0xdca463ff for sharded colors? //replace with 0xffd37fff : 0xdca463ff for sharded colors?
cell.replace(in -> in == 0xffffffff ? 0xffa664ff : in == 0xdcc6c6ff ? 0xd06b53ff : 0); cell.replace(in -> in == 0xffffffff ? 0xffa664ff : in == 0xdcc6c6ff || in == 0xdcc5c5ff ? 0xd06b53ff : 0);
image.draw(cell, image.width / 2 - cell.width / 2, image.height / 2 - cell.height / 2, true); image.draw(cell, image.width / 2 - cell.width / 2, image.height / 2 - cell.height / 2, true);