修复联机宠物形变错误的问题

This commit is contained in:
ZouJin 2024-05-02 22:08:15 +08:00
parent 30e6193d41
commit f4c5177cc3
4 changed files with 7 additions and 5 deletions

View File

@ -173,7 +173,7 @@ namespace VPet_Simulator.Core
return list;
//}
}
return null;// FindGraph(GraphType.Default, mode);
return new List<IGraph>();// FindGraph(GraphType.Default, mode);
}
public Config GraphConfig;

View File

@ -16,8 +16,10 @@ public class GameSave_VPet : IGameSave
/// </summary>
[Line(name: "name")]
public string Name { get; set; }
public string HostName { get; set; }
/// <summary>
/// 主人称呼
/// </summary>
public string HostName { get; set; } = "";
/// <summary>
/// 金钱
/// </summary>

View File

@ -5,7 +5,7 @@
xmlns:ll="clr-namespace:LinePutScript.Localization.WPF;assembly=LinePutScript.Localization.WPF"
xmlns:pu="clr-namespace:Panuon.WPF.UI;assembly=Panuon.WPF.UI" Background="{x:Null}" WindowStyle="None"
SizeToContent="Height" xmlns:local="clr-namespace:VPet_Simulator.Windows" mc:Ignorable="d" ShowInTaskbar="False"
ResizeMode="NoResize" Title="MWFriends" Width="250" pu:WindowXCaption.Height="0" Closed="WindowX_Closed">
ResizeMode="NoResize" Title="MWFriends" pu:WindowXCaption.Height="0" Closed="WindowX_Closed">
<WindowChrome.WindowChrome>
<WindowChrome GlassFrameThickness="-1" />
</WindowChrome.WindowChrome>

View File

@ -61,7 +61,7 @@ public partial class MPFriends : WindowX, IMPFriend
{
InitializeComponent();
//MGrid.Height = 500 * mf.Set.ZoomLevel;
MGrid.Height = 500 * mw.Set.ZoomLevel;
MGrid.Width = 500 * mw.Set.ZoomLevel;
double L = 0, T = 0;
if (mw.Set.StartRecordLast)