mirror of
https://github.com/Faraphel/Atlas-Install.git
synced 2025-07-04 03:38:26 +02:00
ct_icons was generated horizontally instead of vertically
This commit is contained in:
parent
d7a8e3c40b
commit
e87f3dacef
1 changed files with 2 additions and 2 deletions
|
@ -238,7 +238,7 @@ class ModConfig:
|
|||
"""
|
||||
cticons = list(self.get_cticons())
|
||||
|
||||
full_cticon = Image.new("RGBA", (CT_ICON_SIZE * len(cticons), CT_ICON_SIZE))
|
||||
for i, cticon in enumerate(cticons): full_cticon.paste(cticon, (i * CT_ICON_SIZE, 0))
|
||||
full_cticon = Image.new("RGBA", (CT_ICON_SIZE, CT_ICON_SIZE * len(cticons)))
|
||||
for i, cticon in enumerate(cticons): full_cticon.paste(cticon, (0, i * CT_ICON_SIZE))
|
||||
|
||||
return full_cticon
|
||||
|
|
Loading…
Reference in a new issue