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)
|
||||
end
|
||||
|
||||
local function OnValueChanged(value)
|
||||
local function OnValueChanged()
|
||||
local _, max = this:GetMinMaxValues()
|
||||
|
||||
if this.texturePointer.verticalOrientation then
|
||||
this.texturePointer:SetHeight(this.texturePointer.height * (value / max))
|
||||
this.texturePointer:SetHeight(this.texturePointer.height * (arg1 / max))
|
||||
else
|
||||
this.texturePointer:SetWidth(this.texturePointer.width * (value / max))
|
||||
this.texturePointer:SetWidth(this.texturePointer.width * (arg1 / max))
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user