diff --git a/VPet-Simulator.Windows/MutiPlayer/MPFriends.xaml.cs b/VPet-Simulator.Windows/MutiPlayer/MPFriends.xaml.cs index 81194ed..c68903b 100644 --- a/VPet-Simulator.Windows/MutiPlayer/MPFriends.xaml.cs +++ b/VPet-Simulator.Windows/MutiPlayer/MPFriends.xaml.cs @@ -167,14 +167,6 @@ public partial class MPFriends : WindowX, IMPFriend tmp = lb.GetMemberData(friend, "onmod"); } SetPetGraph = tmp; - if (lb.GetMemberData(friend, "onmod") == "true") - { - NoTouchTrue(); - } - else - { - NoTouchFalse(); - } await GameLoad(Path); @@ -379,6 +371,15 @@ public partial class MPFriends : WindowX, IMPFriend HideForDesign.Children.Remove(MPTalkBox); Main.ToolBar.MainGrid.Children.Add(MPTalkBox); + if (lb.GetMemberData(friend, "onmod") == "true") + { + NoTouchTrue(); + } + else + { + NoTouchFalse(); + } + cbTalk.Items.Add("私聊".Translate()); cbTalk.Items.Add("公聊".Translate()); cbTalk.Items.Add("大家".Translate()); diff --git a/VPet-Simulator.Windows/MutiPlayer/MPUserControl.xaml b/VPet-Simulator.Windows/MutiPlayer/MPUserControl.xaml index e252ed7..c575f6f 100644 --- a/VPet-Simulator.Windows/MutiPlayer/MPUserControl.xaml +++ b/VPet-Simulator.Windows/MutiPlayer/MPUserControl.xaml @@ -4,7 +4,7 @@ xmlns:ll="clr-namespace:LinePutScript.Localization.WPF;assembly=LinePutScript.Localization.WPF" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:VPet_Simulator.Windows" - mc:Ignorable="d" Margin="5" Width="338" Height="80" Background="{DynamicResource SecondaryLight}" + mc:Ignorable="d" Margin="5" Width="350" Height="80" Background="{DynamicResource SecondaryLight}" BorderBrush="{DynamicResource Secondary}"> diff --git a/VPet-Simulator.Windows/MutiPlayer/winMutiPlayer.xaml b/VPet-Simulator.Windows/MutiPlayer/winMutiPlayer.xaml index f14526f..e9573be 100644 --- a/VPet-Simulator.Windows/MutiPlayer/winMutiPlayer.xaml +++ b/VPet-Simulator.Windows/MutiPlayer/winMutiPlayer.xaml @@ -5,7 +5,7 @@ xmlns:local="clr-namespace:VPet_Simulator.Windows" mc:Ignorable="d" xmlns:pu="https://opensource.panuon.com/wpf-ui" xmlns:ll="clr-namespace:LinePutScript.Localization.WPF;assembly=LinePutScript.Localization.WPF" - Title="{ll:Str 访客表}" MinHeight="400" Width="400" Closed="Window_Closed" FontSize="16" SizeToContent="Height" + Title="{ll:Str 访客表}" MinHeight="400" Width="440" Closed="Window_Closed" FontSize="16" SizeToContent="Height" MaxHeight="800" ResizeMode="CanMinimize" Closing="Window_Closing">