refactor: purp

This commit is contained in:
cha0s 2021-05-10 00:25:27 -05:00
parent b2ab8858dc
commit 47fc6694b5

View File

@ -26,8 +26,8 @@ export default (Room) => class extends Room.Renderable {
if (amount > 0) {
primitives.drawRectangle(
[x, y, tw, th],
Primitives.lineStyle(new Color(0, 0, 0, amount / 256), 0),
Primitives.fillStyle(new Color(0, 0, 0, amount / 256)),
Primitives.lineStyle(new Color(4, 0, 4, amount / 190), 0),
Primitives.fillStyle(new Color(4, 0, 4, amount / 190)),
);
}
else if (amount < 0) {