mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-22 00:21:34 +00:00
Add alpha to hovered sprite
This commit is contained in:
parent
c90521afbc
commit
2c5aa9090f
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue