From d20372de0aa01de3abd24dda7fcf76186e5948ab Mon Sep 17 00:00:00 2001 From: iamevn Date: Mon, 5 Apr 2021 17:14:09 -0700 Subject: [PATCH] flip draw order so time shows over memory --- draw.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/draw.lua b/draw.lua index d436e3f..dde81b3 100644 --- a/draw.lua +++ b/draw.lua @@ -326,17 +326,17 @@ function love.draw() end if #frames > 1 then - if draw.graphView == "time" or draw.graphView == "both" then - lg.setLineWidth(1) - lg.setColor(const.timeGraphColor) - lg.line(graphs.time) - end - if draw.graphView == "memory" or draw.graphView == "both" then lg.setLineWidth(2) lg.setColor(const.memGraphColor) lg.line(graphs.mem) end + + if draw.graphView == "time" or draw.graphView == "both" then + lg.setLineWidth(1) + lg.setColor(const.timeGraphColor) + lg.line(graphs.time) + end end lg.setColor(const.textColor)