gg: format a line

pull/11204/head
Alexander Medvednikov 2021-08-16 06:36:19 +03:00
parent 7f2d6b779d
commit fadfc3b457
1 changed files with 1 additions and 1 deletions

View File

@ -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()
}