From 4728a81e0204837adc75d9c3f4027e0037f49724 Mon Sep 17 00:00:00 2001 From: jill Date: Mon, 20 Sep 2021 06:33:51 +0000 Subject: [PATCH] hotfix for graph rendering --- src/graph.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graph.lua b/src/graph.lua index b4f0bac..3cc3f88 100644 --- a/src/graph.lua +++ b/src/graph.lua @@ -99,7 +99,7 @@ function self.render() -- polygone -- this isnt done with a polygon because else itd waste a Bunch of ram and i kinda, dont want to do that? love.graphics.setColor(1, 1, 1, 1) - love.graphics.setScissor(x + margin, y + margin, math.abs(w - (margin * 2)), math.abs(h - (margin * 2))) + love.graphics.setScissor(x + margin, y, math.abs(w - (margin * 2)), math.abs(h)) local last = (((graph[1] or 0) - 0.5) * zoome) + 0.5 for gx = 1, quality - 1 do local a = gx/quality