-
Notifications
You must be signed in to change notification settings - Fork 11
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
feat: improvements and fixes on places and events panel #2834
feat: improvements and fixes on places and events panel #2834
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved with two minor code suggestion
|
||
view.CollapseButton.gameObject.SetActive(true); | ||
view.ExpandButton.gameObject.SetActive(false); | ||
view.CollapseButton.onClick.AddListener(Collapse); | ||
view.ExpandButton.onClick.AddListener(Expand); | ||
|
||
view.PointerEnter += DisableMapZoom; | ||
view.PointerExit += EnableMapZoom; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you unsub in the dispose?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you find it necessary? This controller is just created once during the whole lifecycle of the app and i dont see that is going to change
…overability-placesnevents-improvements # Conflicts: # Explorer/Assets/DCL/PluginSystem/Global/ExplorePanelPlugin.cs
What does this PR change?
Our Code Review Standards
https://github.com/decentraland/unity-renderer/blob/master/docs/code-review-standards.md