Pass the right bounds when painting gutter

Antonio Scandurra created

x and y were flipped around, yikes.

Change summary

zed/src/editor/buffer_element.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

zed/src/editor/buffer_element.rs 🔗

@@ -183,7 +183,7 @@ impl BufferElement {
                     ix as f32 * line_height - (scroll_top % line_height),
                 );
             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())],
                 ctx,
             );