feat: Add new GUI effects view and numerous image assets.
This commit is contained in:
@@ -152,7 +152,7 @@ class DeckSkillsFrame(ttk.Frame):
|
||||
if resolved_path and os.path.exists(resolved_path):
|
||||
try:
|
||||
pil_img = Image.open(resolved_path)
|
||||
pil_img.thumbnail((32, 32), Image.Resampling.LANCZOS)
|
||||
pil_img.thumbnail((48, 48), Image.Resampling.LANCZOS)
|
||||
img = ImageTk.PhotoImage(pil_img)
|
||||
self.icon_cache[card_id] = img
|
||||
except: pass
|
||||
|
||||
Reference in New Issue
Block a user