Merge branch 'main' into animation

This commit is contained in:
MihailRis 2026-08-09 16:50:42 +03:00
commit 83e7f1d5f5
24 changed files with 284 additions and 208 deletions

View file

@ -12,7 +12,7 @@ Content-pack folder must contain file **package.json** with following contents:
{
"id": "pack_id",
"title": "pack name will be displayed in the content menu",
"version": "content-pack version - major.minor",
"version": "content-pack version - major.minor.[patch])",
"creator": "content-pack creator",
"description": "short description",
"dependencies": [
@ -26,6 +26,7 @@ Dependency levels are indicated by prefixes in the name:
- '!' - required dependency
- '?' - optional dependency
- '~' - weak dependency
If prefix is not specified, '!' level will be used.
Example: '~randutil' - weak dependency 'randutil'.

View file

@ -53,7 +53,7 @@ Properties that apply to all elements:
| contentOffset | vec2 | yes | *no* | element content offset |
| cursor | string | yes | yes | cursor displayed on hover |
| parent | Element | yes | *no* | parent element or nil |
| zIndex | bool | yes | *no* | z-index value. In panel, it determines the order |
| zIndex | int | yes | *no* | z-index value. In panel, it determines the order |
Common element methods: