Run cargo fmt
This commit is contained in:
parent
9ab32ae1c3
commit
007fc4b0d5
1 changed files with 3 additions and 2 deletions
|
@ -76,7 +76,8 @@ impl TextRenderer {
|
|||
let start_y_physical = (text_area.top + (run.line_top * text_area.scale)) as i32;
|
||||
let end_y_physical = start_y_physical + (run.line_height * text_area.scale) as i32;
|
||||
|
||||
start_y_physical <= text_area.bounds.bottom && text_area.bounds.top <= end_y_physical
|
||||
start_y_physical <= text_area.bounds.bottom
|
||||
&& text_area.bounds.top <= end_y_physical
|
||||
};
|
||||
|
||||
let layout_runs = text_area
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue