Add function to set metrics and size simultaneously
This commit is contained in:
parent
423fc22439
commit
d53932bd7c
2 changed files with 30 additions and 14 deletions
|
|
@ -590,13 +590,7 @@ impl<'a> Edit for ViEditor<'a> {
|
|||
Color::rgba(color.r(), color.g(), color.b(), 0x33),
|
||||
);
|
||||
} else {
|
||||
f(
|
||||
start_x,
|
||||
line_top as i32,
|
||||
1,
|
||||
line_height as u32,
|
||||
color,
|
||||
);
|
||||
f(start_x, line_top as i32, 1, line_height as u32, color);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue