Commit 3eeb7341 authored by Darth Predator's avatar Darth Predator
Browse files

Scale the scale :D

parent b71d9877
......@@ -180,8 +180,14 @@ end
function B:VehicleScale()
local frame = _G["VehicleSeatIndicator"]
frame:SetScale(B.db.vehicleSeatScale)
frame.mover:SetSize(B.db.vehicleSeatScale * frame:GetWidth(), B.db.vehicleSeatScale * frame:GetHeight())
local uiScale = UIParent:GetScale()
local frameScale = uiScale * B.db.vehicleSeatScale
frame:SetScale(frameScale)
if frame.mover then
frame.mover:SetSize(frameScale * frame:GetWidth(), frameScale * frame:GetHeight())
else
E:Delay(1, B.VehicleScale)
end
end
function B:ErrorFrameSize()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment