From 155c00ad7e6559223a661e2292d57b20f0e1894f Mon Sep 17 00:00:00 2001
From: ZouJin <zoujin.dev@exlb.org>
Date: Fri, 1 Sep 2023 01:02:48 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BD=B1=E6=B5=81=E4=B9=8B?=
 =?UTF-8?q?=E4=B8=BB=E9=80=A0=E6=88=90=E7=9A=84BUG=20Fix=20#154?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 VPet-Simulator.Core/Graph/PNGAnimation.cs     | 2 +-
 VPet-Simulator.Windows/mod/0000_core/info.lps | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/VPet-Simulator.Core/Graph/PNGAnimation.cs b/VPet-Simulator.Core/Graph/PNGAnimation.cs
index 5a7694c..2237d24 100644
--- a/VPet-Simulator.Core/Graph/PNGAnimation.cs
+++ b/VPet-Simulator.Core/Graph/PNGAnimation.cs
@@ -197,7 +197,7 @@ namespace VPet_Simulator.Core
                 if(paths.Length * w >= 6000)
                 {//修复大长动画导致过长分辨率导致可能的报错
                     w = 6000 / paths.Length;
-                    h = (int)(h * (GraphCore.Resolution / (double)img.Width));
+                    h = (int)(h * (w / (double)img.Width));
                 }
 
                 using (Bitmap joinedBitmap = new Bitmap(w * paths.Length, h))
diff --git a/VPet-Simulator.Windows/mod/0000_core/info.lps b/VPet-Simulator.Windows/mod/0000_core/info.lps
index 9277ca6..9f61395 100644
--- a/VPet-Simulator.Windows/mod/0000_core/info.lps
+++ b/VPet-Simulator.Windows/mod/0000_core/info.lps
@@ -2,7 +2,7 @@ vupmod#Core:|author#LorisYounger:|gamever#100:|ver#100:|
 intro#这是虚拟桌宠模拟器的核心运行文件/com可以参考此文件编写mod:|
 authorid#253101309:|
 itemid#1:|
-cachedate#2023/8/25:|
+cachedate#2023/8/30:|
 lang#en:|这是虚拟桌宠模拟器的核心运行文件,可以参考此文件编写mod#This is the core running file of the virtual desktop pet simulator, and you can refer to this file to write mods:|Core#Core:|
 lang#zh-Hans:|这是虚拟桌宠模拟器的核心运行文件,可以参考此文件编写mod#这是虚拟桌宠模拟器的核心运行文件,可以参考此文件编写mod:|Core#Core 核心:|
 lang#zh-Hant:|这是虚拟桌宠模拟器的核心运行文件,可以参考此文件编写mod#這是虛擬桌寵模擬器的覈心運行檔案,可以參考此檔案編寫mod:|Core#Core 覈心:|
\ No newline at end of file