Skip to content

Commit 64db4df

Browse files
committed
Updated source
1 parent ac6f3c0 commit 64db4df

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/js/base.js

+9
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,15 @@ export default class Base extends ol.control.Control {
8989
return Base.Internal.opened;
9090
}
9191

92+
/**
93+
* Update the menus position.
94+
*/
95+
updatePosition(pixel) {
96+
if (this.isOpened()) {
97+
Base.Internal.positionContainer(pixel);
98+
}
99+
};
100+
92101
/**
93102
* Remove the last item of the menu.
94103
*/

0 commit comments

Comments
 (0)