Chat will lose focus if hide/showFeed is called regardless of current state
This commit is contained in:
oldnapalm 2021-07-13 00:56:50 -03:00
parent 5c6b23ee78
commit 7e88599155

View File

@ -39,7 +39,14 @@ namespace CoopClient
get { return CurrentHidden; }
set
{
MainScaleForm.CallFunction(value ? "hide" : "showFeed");
if (value && !CurrentHidden)
{
MainScaleForm.CallFunction("hide");
}
else if (!value && CurrentHidden)
{
MainScaleForm.CallFunction("showFeed");
}
CurrentHidden = value;
}