mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-18 16:55:40 +02:00
Basic vertical rendering
- Add height attribute to most particles for height generation on the fly
This commit is contained in:
parent
37b5b02fc4
commit
60c18246d8
23 changed files with 286 additions and 158 deletions
|
@ -856,7 +856,7 @@ content(struct module *module)
|
|||
struct private *private = module->private;
|
||||
|
||||
if (private->data == NULL)
|
||||
return dynlist_exposable_new(NULL, 0, 0, 0);
|
||||
return dynlist_exposable_new(NULL, 0, module->bar->is_vertical(module->bar), 0, 0);
|
||||
|
||||
mtx_lock(&module->lock);
|
||||
|
||||
|
@ -915,7 +915,7 @@ content(struct module *module)
|
|||
|
||||
mtx_unlock(&module->lock);
|
||||
|
||||
return dynlist_exposable_new(exposables, exposables_length, 0, 0);
|
||||
return dynlist_exposable_new(exposables, exposables_length, module->bar->is_vertical(module->bar), 0, 0);
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue