Bug fix
Chat will lose focus if hide/showFeed is called regardless of current state
This commit is contained in:
@ -39,7 +39,14 @@ namespace CoopClient
|
|||||||
get { return CurrentHidden; }
|
get { return CurrentHidden; }
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
MainScaleForm.CallFunction(value ? "hide" : "showFeed");
|
if (value && !CurrentHidden)
|
||||||
|
{
|
||||||
|
MainScaleForm.CallFunction("hide");
|
||||||
|
}
|
||||||
|
else if (!value && CurrentHidden)
|
||||||
|
{
|
||||||
|
MainScaleForm.CallFunction("showFeed");
|
||||||
|
}
|
||||||
|
|
||||||
CurrentHidden = value;
|
CurrentHidden = value;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user