From 76a21e2cefae8d4812c6822bb5be42c69e7fe1bc Mon Sep 17 00:00:00 2001 From: Marco Vockner Date: Sun, 4 Jun 2017 18:43:37 +0200 Subject: [PATCH] Reverted subtraction in offset calculation Tested on my system, is pixel perfect without the subtraction. --- @Resources/scripts/Rotate.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/@Resources/scripts/Rotate.lua b/@Resources/scripts/Rotate.lua index 6ff2994..c5ad1ff 100644 --- a/@Resources/scripts/Rotate.lua +++ b/@Resources/scripts/Rotate.lua @@ -10,7 +10,7 @@ function Initialize() -- Set options for each config local barHeight = SKIN:ParseFormula(SKIN:GetVariable("BarHeight")) local barWidth, barGap = SKIN:ParseFormula(SKIN:GetVariable("BarWidth")) * SKIN:ParseFormula(SKIN:GetVariable("ScaleVisualizer")), SKIN:ParseFormula(SKIN:GetVariable("BarGap")) * SKIN:ParseFormula(SKIN:GetVariable("ScaleVisualizer")) - local offset = math.ceil(barWidth) + math.ceil(barGap) -1 + local offset = math.ceil(barWidth) + math.ceil(barGap) local angle = SKIN:ParseFormula(SKIN:GetVariable("Angle")) local meterName, lowerLimit, upperLimit = {}, 1, SKIN:ParseFormula(SKIN:GetVariable("BarCount"))