Skip to content

Commit

Permalink
utils(stickers): fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
akshettrj committed Jul 13, 2024
1 parent 9962366 commit 5210b26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/stickers.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func WebpImagePad(inputData []byte, wPad, hPad int, updateId int64) ([]byte, err
)

outputWidth := inputImage.Bounds().Dx() + wPad
outputHeight := inputImage.Bounds().Dx() + hPad
outputHeight := inputImage.Bounds().Dy() + hPad

outputImage := image.NewRGBA(image.Rect(0, 0, outputWidth, outputHeight))
draw.Draw(outputImage, image.Rect(wOffset, hOffset, outputWidth-wOffset, outputHeight-hOffset), inputImage, image.Point{}, draw.Src)
Expand Down

0 comments on commit 5210b26

Please sign in to comment.