diff --git a/doc/en/scripting/ui.md b/doc/en/scripting/ui.md index 5013b448..f5bb8401 100644 --- a/doc/en/scripting/ui.md +++ b/doc/en/scripting/ui.md @@ -56,6 +56,7 @@ Common element methods: | ------------------- | ----------------------------------------------------------------------------------- | | moveInto(container) | moves the element to the specified container (the element is specified, not the id) | | destruct() | removes element | +| reposition() | updates the element position based on the `positionfunc` | ## Containers diff --git a/doc/ru/scripting/ui.md b/doc/ru/scripting/ui.md index 3c203d37..7e10a180 100644 --- a/doc/ru/scripting/ui.md +++ b/doc/ru/scripting/ui.md @@ -56,6 +56,7 @@ document["worlds-panel"]:clear() | ------------------- | ----------------------------------------------------------------------- | | moveInto(container) | перемещает элемент в указанный контейнер (указывается элемент, а не id) | | destruct() | удаляет элемент | +| reposition() | обновляет позицию элемента на основе функции позиционирования | ## Контейнеры