mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
nil arg fix
This commit is contained in:
@@ -296,13 +296,13 @@ local function OnSizeChanged()
|
|||||||
this.texturePointer:SetHeight(height)
|
this.texturePointer:SetHeight(height)
|
||||||
end
|
end
|
||||||
|
|
||||||
local function OnValueChanged(value)
|
local function OnValueChanged()
|
||||||
local _, max = this:GetMinMaxValues()
|
local _, max = this:GetMinMaxValues()
|
||||||
|
|
||||||
if this.texturePointer.verticalOrientation then
|
if this.texturePointer.verticalOrientation then
|
||||||
this.texturePointer:SetHeight(this.texturePointer.height * (value / max))
|
this.texturePointer:SetHeight(this.texturePointer.height * (arg1 / max))
|
||||||
else
|
else
|
||||||
this.texturePointer:SetWidth(this.texturePointer.width * (value / max))
|
this.texturePointer:SetWidth(this.texturePointer.width * (arg1 / max))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user