diff --git a/vlib/gg/gg.v b/vlib/gg/gg.v index 3dcc14c9d8..8a8faaaf13 100644 --- a/vlib/gg/gg.v +++ b/vlib/gg/gg.v @@ -290,7 +290,7 @@ pub fn (ctx &Context) draw_empty_rect(x f32, y f32, w f32, h f32, c gx.Color) { sgl.v2f((x + w) * ctx.scale, y * ctx.scale) sgl.v2f((x + w) * ctx.scale, (y + h) * ctx.scale) sgl.v2f(x * ctx.scale, (y + h) * ctx.scale) - sgl.v2f(x * ctx.scale, (y-1) * ctx.scale) + sgl.v2f(x * ctx.scale, (y - 1) * ctx.scale) sgl.end() }