diff options
| author | Jefferson González <jgmdev@gmail.com> | 2025-12-05 07:43:59 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-05 07:43:59 -0400 |
| commit | 1cbb09c5646c16aefc49846e24bc7cfffdb558e2 (patch) | |
| tree | 349bc65988c8e2eaefd9e8ba9d4b7f6db45d0698 /scripts/lua | |
| parent | 5cf7989b704fa0c16e2001027745ff174b2712e6 (diff) | |
| download | pragtical-1cbb09c5646c16aefc49846e24bc7cfffdb558e2.tar.gz pragtical-1cbb09c5646c16aefc49846e24bc7cfffdb558e2.zip | |
Add the option to change background mode of images (#371)
The options are:
* "grid" - displays gray squares
* "solid" - displays a configurable color
* "none" - no background is displayed
New config flags:
```lua
---The type of background drawn behind the images.
---
---Defaults to "grid".
---@type "grid" | "solid" | "none"
config.images_background_mode = "grid"
---The color used for the background of transparent images when the
---background mode is set to solid.
---
---Defaults to "#ffffff".
---@type renderer.color
config.images_background_color = { common.color "#ffffff" }
```
Diffstat (limited to 'scripts/lua')
0 files changed, 0 insertions, 0 deletions
