Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
dm0n3y committed Nov 10, 2024
1 parent 2e46daf commit 039c3dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/web/view/dec/Child.re
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ let view = (~font, p: Profile.t) => {
|> Option.map(includes_all_but_padding(~side=R, end_loc.col))
|> Option.value(~default=false);

let b =
let no_body =
height <= 0
|| Option.is_none(fst(p.no_delim))
&& r_closed_by_delim_after_newline
Expand All @@ -99,7 +99,7 @@ let view = (~font, p: Profile.t) => {
&& l_open_and_covers_row
|| height > 0
&& Option.is_none(fst(p.no_delim))
&& !b
&& !no_body
? []
: Util.Svgs.Path.[
m(~x=p.loc.col, ~y=p.loc.row + 1)
Expand All @@ -111,7 +111,7 @@ let view = (~font, p: Profile.t) => {
),
];
let body_line =
b
no_body
? []
: Util.Svgs.Path.[
m(~x=p.ind, ~y=p.loc.row)
Expand Down

0 comments on commit 039c3dd

Please sign in to comment.