Skip to content

Commit

Permalink
Reverted subtraction in offset calculation
Browse files Browse the repository at this point in the history
Tested on my system, is pixel perfect without the subtraction.
  • Loading branch information
marcopixel committed Jun 4, 2017
1 parent 9cde83d commit 76a21e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion @Resources/scripts/Rotate.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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"))

Expand Down

0 comments on commit 76a21e2

Please sign in to comment.