fix image width
This commit is contained in:
@@ -728,7 +728,7 @@ def drawCatchDisplay(app):
|
|||||||
|
|
||||||
|
|
||||||
#draw creature/error
|
#draw creature/error
|
||||||
imgWidth = 200
|
imgWidth = 160
|
||||||
if app.hookedFish != None:
|
if app.hookedFish != None:
|
||||||
trueimgW, trueimgH = getImageSize(BASE_IMAGE_URL + f"fish/{app.hookedFish["sprite-file"]}")
|
trueimgW, trueimgH = getImageSize(BASE_IMAGE_URL + f"fish/{app.hookedFish["sprite-file"]}")
|
||||||
imgHeight = imgWidth * (trueimgH / trueimgW)
|
imgHeight = imgWidth * (trueimgH / trueimgW)
|
||||||
|
|||||||
Reference in New Issue
Block a user