* Fixed Dynamic Clothes icon size
This commit is contained in:
LoafyLemon 2023-07-14 23:58:17 +01:00
parent fc794f969a
commit 03db672299

View File

@ -179,7 +179,7 @@ init python:
if y+h > hmax: if y+h > hmax:
y = hmax-h y = hmax-h
return Transform(Fixed(*[i[1] for i in sprites], fit_first=True), crop=(x, y, w, h)) return Transform(Fixed(*[i[1] for i in sprites], fit_first=True), crop=(x, y, w, h), size=(96, 96), fit="contain", align=(0.5, 0.5))
def clone(self): def clone(self):
"""Creates a clone of this cloth object. Since it requires a parent object it should be used internally only to avoid object depth issue.""" """Creates a clone of this cloth object. Since it requires a parent object it should be used internally only to avoid object depth issue."""