Add alpha to hovered sprite

This commit is contained in:
thepaperpilot 2022-12-21 23:16:14 -06:00
parent c90521afbc
commit 2c5aa9090f

View file

@ -771,6 +771,7 @@ const factory = createLayer(id, () => {
hoverSprite.y = roundDownTo(mouseCoords.y - ty, blockSize) + ty - blockSize / 2;
hoverSprite.width = blockSize;
hoverSprite.height = blockSize;
hoverSprite.alpha = 0.5;
graphicContainer.addChild(hoverSprite);
}
}