mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
修复错误的聊天框显示 Fix #149
This commit is contained in:
parent
253bb1077a
commit
bc2044a87c
@ -398,24 +398,15 @@ namespace VPet_Simulator.Core
|
||||
return FindResource("DangerProgressBarForeground") as Brush;
|
||||
}
|
||||
}
|
||||
public void MenuPanel_MouseEnter()
|
||||
private void MenuPanel_MouseEnter(object sender, MouseEventArgs e)
|
||||
{
|
||||
BdrPanel.Visibility = Visibility.Visible;
|
||||
M_TimeUIHandle(m);
|
||||
}
|
||||
|
||||
public void MenuPanel_MouseLeave()
|
||||
{
|
||||
closePanelTimer.Start();
|
||||
}
|
||||
private void MenuPanel_MouseEnter(object sender, MouseEventArgs e)
|
||||
{
|
||||
MenuPanel_MouseEnter();
|
||||
}
|
||||
|
||||
private void MenuPanel_MouseLeave(object sender, MouseEventArgs e)
|
||||
{
|
||||
MenuPanel_MouseLeave();
|
||||
closePanelTimer.Start();
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
|
@ -48,7 +48,7 @@ namespace VPet_Simulator.Windows
|
||||
/// <summary>
|
||||
/// 版本号
|
||||
/// </summary>
|
||||
public int version { get; } = 102;
|
||||
public int version { get; } = 103;
|
||||
/// <summary>
|
||||
/// 版本号
|
||||
/// </summary>
|
||||
|
@ -115,11 +115,11 @@ namespace VPet_Simulator.Windows
|
||||
{
|
||||
if (tbTalk.Text.Length > 0)
|
||||
{
|
||||
mw.Main.ToolBar.MenuPanel_MouseEnter();
|
||||
mw.Main.ToolBar.CloseTimer.Stop();
|
||||
}
|
||||
else
|
||||
{
|
||||
mw.Main.ToolBar.MenuPanel_MouseLeave();
|
||||
mw.Main.ToolBar.CloseTimer.Start();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user