new icon settings

This commit is contained in:
Buurazu authored and GitHub committed 2022-03-25 22:55:43 -04:00
1 parent 6015d6ffcf
commit f015958354
1 file changed
+11 -10
+11 -10
View File
@@ -35,7 +35,6 @@ local function renderDummyDesc(reload)
demoDescObj.Name = EID:getDescriptionEntry("MCM","DemoObjectName")
demoDescObj.Transformation = EID:getDescriptionEntry("MCM","DemoObjectTransformation")
demoDescObj.Description = EID:getDescriptionEntry("MCM","DemoObjectText")
demoDescObj = EID:replaceMarkupSize(demoDescObj)
EID:displayPermanentText(demoDescObj, "MCM", "DemoObjectName")
end
@@ -504,19 +503,21 @@ if MCMLoaded then
{"Press this key to change the text size.", "Hold this key to smoothly change the text size."}, false)
-- Local Mode Centered or not
EID:AddBooleanSetting("Visuals", "LocalModeCentered", "Local Mode Centered")
-------Markup icon Sizes---------
local markupSizes = {"default", "big", "small"}
EID:AddNumberSetting("Visuals", "MarkupSize", "Markup icon Size", 1, #markupSizes, {indexOf = markupSizes}, {onChangeFunc =
function(currentNum)
EID.MCM_OptionChanged = true
renderDummyDesc(true)
end})
-- Transparency
local transparencies = {0.1, 0.175, 0.25, 0.3, 0.4, 0.5, 0.6, 0.75, 0.8, 0.9, 1}
EID:AddScrollSetting("Visuals", "Transparency", "Transparency", transparencies)
MCM.AddSpace("EID", "Visuals")
-------Markup icon Sizes---------
local markupSizes = {"default", "big", "small"}
EID:AddNumberSetting("Visuals", "MarkupSize", "Markup Icon Size", 1, #markupSizes, {indexOf = markupSizes})
EID:AddBooleanSetting("Visuals", "StatChangeIcons", "Stat Change Icons")
EID:AddBooleanSetting("Visuals", "StatAndPickupBulletpoints", "Stat/Pickup Bulletpoint Icons")
MCM.AddSpace("EID", "Visuals")
-- Simple toggles of what is shown in the title and transformation lines of a description