mirror of
https://codeberg.org/fairyglade/ly.git
synced 2026-08-18 19:44:23 +02:00
order of labels aligns with order of definitions in config
This commit is contained in:
parent
dff890610e
commit
f8a314aa73
1 changed files with 2 additions and 2 deletions
|
|
@ -1907,11 +1907,11 @@ fn positionWidgets(ptr: *anyopaque) !void {
|
|||
}
|
||||
for (state.custom_info.items, 0..) |*item, i| {
|
||||
item.lbl.positionXY(state.edge_margin
|
||||
.addY(@intCast(i))
|
||||
.invertX(state.buffer.width)
|
||||
.removeX(item.lbl.text.len)
|
||||
.invertY(state.buffer.height)
|
||||
.removeY(1));
|
||||
.removeY(state.custom_info.items.len)
|
||||
.addY(i));
|
||||
}
|
||||
|
||||
state.battery_label.positionXY(state.edge_margin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue