Fix doodad properties button hitbox

This commit is contained in:
Noah 2024-02-11 17:00:19 -08:00
parent 6def8f7625
commit f4ef0f8d8f

View File

@ -346,7 +346,7 @@ func (w *Canvas) doodadButtonRect() render.Rect {
return render.Rect{
X: drawAt.X,
Y: drawAt.Y,
W: drawAt.X + balance.UICanvasDoodadButtonSize,
H: drawAt.Y + balance.UICanvasDoodadButtonSize,
W: balance.UICanvasDoodadButtonSize,
H: balance.UICanvasDoodadButtonSize,
}
}