added markup size change option

This commit is contained in:
kohashiwakaba committed 2022-03-13 19:39:22 +09:00
1 parent 024fbf06e8
commit d3722e30ff
7 files changed
+480 -410

No files matched your search

+9
View File
@@ -35,6 +35,7 @@ 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,6 +505,14 @@ if MCMLoaded then
-- 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)