update ui docs

This commit is contained in:
MihailRis 2026-01-27 23:15:14 +03:00
parent 6aac90094e
commit 5ca0891c3d
4 changed files with 8 additions and 4 deletions

View file

@ -120,6 +120,7 @@ Inner text is a button text.
- `src` - name of an image stored in textures folder. Extension is not specified. Type: string.
Example: *gui/error*
- `fallback` - a fallback texture displayed when the main texture is missing / loading.
- `region` - image region x1, y1, x2, y2 from 0.0, 0.0 (upper left corner), 1.0, 1.0 (lower right corner)
## *canvas*