meme: make bully position default to botright even for bad configs

This commit is contained in:
Chris Sexton 2020-11-02 10:55:09 -05:00 committed by Chris Sexton
parent 9617e02d72
commit 3e8a474f13
1 changed files with 1 additions and 3 deletions

View File

@ -447,10 +447,8 @@ func (p *MemePlugin) applyBully(img, bullyImg image.Image) image.Image {
w, h := bullyImg.Bounds().Max.X, bullyImg.Bounds().Max.Y
pt := image.Point{}
pt := image.Point{srcSz.X - w, srcSz.Y - h}
switch position {
case "botright":
pt = image.Point{srcSz.X - w, srcSz.Y - h}
case "botleft":
pt = image.Point{0, srcSz.Y - h}
case "topright":