-
-
Notifications
You must be signed in to change notification settings - Fork 84
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
Added updatePosition #81
Conversation
…ave been fetched from a remote source.
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.
Please remove build/*, those files will be built on new version release.
Is there anything more you need me to change now I've backed out the update I did to the built output? |
@@ -90,6 +90,15 @@ export default class Base extends ol.control.Control { | |||
} | |||
|
|||
/** | |||
* Update the menus position. | |||
*/ | |||
updatePosition(pixel) { |
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.
Add an assertion to ´pixel´ parameter:
utils.assert(Array.isArray(pixel), '@param `pixel` should be an Array.');
@@ -90,6 +90,15 @@ export default class Base extends ol.control.Control { | |||
} | |||
|
|||
/** | |||
* Update the menus position. |
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.
Minor: menus to menu's
Yes, @Saurbaum there are some inline comments. (I've made them yesterday and forgot to submit) |
Added assertion on the parameter 'pixel'
Apologies for that. Still getting to grips with the GitHub interface. |
Thank you @Saurbaum. Merged. |
To allow you to move the menu once all entries have been fetched from a remote source.