Edit EID.Config["Scale"] on EID.Scale
This commit is contained in:
1 parent
869fb45690
commit
a909826fd3
1 file changed
+2
-1
+2
-1
@@ -122,7 +122,7 @@ local function onDebugRender(t)
|
|||||||
|
|
||||||
for i, v in ipairs(charsToDebug) do
|
for i, v in ipairs(charsToDebug) do
|
||||||
local pos = EID.getTextPosition() + Vector(-5, - 15 + ((i - 1) * 14))
|
local pos = EID.getTextPosition() + Vector(-5, - 15 + ((i - 1) * 14))
|
||||||
EID:renderString(v, pos, Vector(EID.Config["Scale"], EID.Config["Scale"]), KColor(1, 1, 1, 1, 0, 0, 0))
|
EID:renderString(v, pos, Vector(EID.Scale, EID.Scale), KColor(1, 1, 1, 1, 0, 0, 0))
|
||||||
|
|
||||||
if not showDebugChars then
|
if not showDebugChars then
|
||||||
break
|
break
|
||||||
@@ -130,3 +130,4 @@ local function onDebugRender(t)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
EID:AddCallback(ModCallbacks.MC_POST_RENDER, onDebugRender)
|
EID:AddCallback(ModCallbacks.MC_POST_RENDER, onDebugRender)
|
||||||
|
|
||||||
Reference in new issue
Block a user