mirror of
https://github.com/edubart/otclient.git
synced 2025-04-30 01:29:21 +02:00
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…
x
Reference in New Issue
Block a user