提交 e757774f 编写于 作者: Z ZouJin

修复错误的聊天框显示 Fix #149

上级 ad7028f3
......@@ -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();
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册