mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-18 00:45:38 +02:00
particle/list: optionally destroy sub particles
This was always done before. Now that it is optional, one can for example generate lists dynamically, using the same set of base particles over and over again.
This commit is contained in:
parent
24313ea75a
commit
c5d3e934b4
3 changed files with 16 additions and 5 deletions
3
config.c
3
config.c
|
@ -166,7 +166,8 @@ particle_list_from_config(const struct yml_node *node,
|
|||
}
|
||||
|
||||
struct particle *list = particle_list_new(
|
||||
parts, count, left_spacing, right_spacing, left_margin, right_margin);
|
||||
parts, count, left_spacing, right_spacing, left_margin, right_margin,
|
||||
true);
|
||||
|
||||
free(parts);
|
||||
return list;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue