We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fda53c commit 16cf59dCopy full SHA for 16cf59d
lib/layout.ml
@@ -153,7 +153,6 @@ let layout ~duration (ring : Ring.t) =
153
height := max !height (f.y - i.y + f.height);
154
);
155
i.height <- !height;
156
- max_y := max !max_y i.y;
157
if debug_layout then Fmt.epr "%d is at %d+%d@." i.id y i.height;
158
in
159
let visit_domain root =
@@ -171,6 +170,7 @@ let layout ~duration (ring : Ring.t) =
171
170
i.end_cc_label <- child.end_cc_label;
172
173
+ max_y := max !max_y (i.y + i.height - 1);
174
175
List.iter visit_domain ring.roots;
176
ring.height <- (!max_y + 1) - ring.y
0 commit comments