Skip to content
New issue

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

CenterHtmlMenu Open method in a weird state. #395

Closed
frederikstonge opened this issue Apr 3, 2024 · 1 comment · Fixed by #396
Closed

CenterHtmlMenu Open method in a weird state. #395

frederikstonge opened this issue Apr 3, 2024 · 1 comment · Fixed by #396
Labels
untriaged New issue has not been triaged

Comments

@frederikstonge
Copy link
Contributor

Not really an issue, but something is missing here in the new CenterHtmlMenu change to support Open method.
image

IMO, we should either remove the constructor without the BasePlugin :
image

OR, throw an exception if the BasePlugin is null to inform the user that he has used the wrong constructor :

image

@roflmuffin
Copy link
Owner

I agree, I almost requested this as a CR in the PR but decided against it but I think throwing the exception makes sense

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
untriaged New issue has not been triaged
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants