Merge pull request #376 from Buurazu/master
Text position modifiers update
This commit is contained in:
4 files changed
+77
-50
No files matched your search
+7
-8
@@ -76,15 +76,14 @@ end
|
||||
|
||||
function EID:renderMCMDummyDescription()
|
||||
if MCMLoaded then
|
||||
local hudOffset = ModConfigMenu.Config["General"].HudOffset
|
||||
if hudOffset == nil and ScreenHelper then
|
||||
hudOffset = ScreenHelper.GetOffset()
|
||||
if not Options then
|
||||
local hudOffset = ModConfigMenu.Config["General"].HudOffset
|
||||
if hudOffset == nil and ScreenHelper then
|
||||
hudOffset = ScreenHelper.GetOffset()
|
||||
end
|
||||
EID.Config["HUDOffset"] = hudOffset
|
||||
EID:addTextPosModifier("HudOffset", Vector((hudOffset * 2) - 20, hudOffset - 10))
|
||||
end
|
||||
if REPENTANCE and Options then
|
||||
hudOffset = (Options.HUDOffset * 10)
|
||||
end
|
||||
EID.Config["HUDOffset"] = hudOffset
|
||||
EID:addTextPosModifier("HudOffset", Vector((hudOffset * 2) - 20, hudOffset - 10))
|
||||
if MCM.IsVisible and EID.MCMCompat_isDisplayingEIDTab ~= "" then
|
||||
if EID.MCMCompat_isDisplayingEIDTab == "Mouse" and EID.Config["EnableMouseControls"] then
|
||||
clearRenderDummyDesc()
|
||||
|
||||
Reference in new issue
Block a user