Fix for #596
This commit is contained in:
parent
aa924dc348
commit
c49a6f3bf2
|
@ -28,7 +28,7 @@ local function calcValues(self)
|
||||||
proportion = math.min(math.max(self.step, 1), range)/range
|
proportion = math.min(math.max(self.step, 1), range)/range
|
||||||
end
|
end
|
||||||
|
|
||||||
local px = math.max(proportion * pxrange, 10)
|
local px = math.max(proportion * pxrange, 6)
|
||||||
px = px - px % 2 + 1
|
px = px - px % 2 + 1
|
||||||
|
|
||||||
local offset = 0
|
local offset = 0
|
||||||
|
|
Loading…
Reference in New Issue