We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Looks like the code has the sense of the boolean inverted. If I set IsOpen= true, the menu should open, not close.
IsOpen= true
public bool IsOpen { get { return _sidebar.IsOpen; } set { _sidebar.IsOpen = value; if (_sidebar.IsOpen) CloseMenu(); else OpenMenu(); } }
Also, setting _sidebar.IsOpen prevents the opening. So the code should simply read:
_sidebar.IsOpen
public bool IsOpen { get { return _sidebar.IsOpen; } set { if (value) _sidebar.OpenMenu(); else _sidebar.CloseMenu(); } }
Is this correct?
Thanks!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Looks like the code has the sense of the boolean inverted. If I set
IsOpen= true
, the menu should open, not close.Also, setting
_sidebar.IsOpen
prevents the opening. So the code should simply read:Is this correct?
Thanks!
The text was updated successfully, but these errors were encountered: