Pass the right bounds when painting gutter
x and y were flipped around, yikes.
This commit is contained in:
parent
2c24ec2e46
commit
a2790481a6
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ impl BufferElement {
|
||||||
ix as f32 * line_height - (scroll_top % line_height),
|
ix as f32 * line_height - (scroll_top % line_height),
|
||||||
);
|
);
|
||||||
line.paint(
|
line.paint(
|
||||||
RectF::new(line_origin, vec2f(line_height, line.width)),
|
RectF::new(line_origin, vec2f(line.width, line_height)),
|
||||||
&[(0..line.len, ColorU::black())],
|
&[(0..line.len, ColorU::black())],
|
||||||
ctx,
|
ctx,
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue