mirror of
https://github.com/airstruck/luigi.git
synced 2025-12-19 02:16:43 +00:00
pixel alignment for lines
This commit is contained in:
@@ -32,7 +32,7 @@ function Renderer:renderOutline (widget, window)
|
||||
|
||||
love.graphics.push('all')
|
||||
love.graphics.setColor(widget.outline)
|
||||
love.graphics.rectangle('line', x1, y1, x2 - x1, y2 - y1)
|
||||
love.graphics.rectangle('line', x1 - 0.5, y1 - 0.5, x2 - x1, y2 - y1)
|
||||
love.graphics.pop()
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user