Give the map markers an option for size (#25)
* add missing Locale entries * add size option * link option to icon size * add icon size option to menu * shorten option name * update to match naming * map marker translations * map marker translations * map marker translations * map marker translations * map marker translations * map makers translations * map markers translations * map markers translations * remove spacer originally I added the space because the previous option was too long and had ... at the end of the name, but now that its shorter it looks odd on its own line
This commit is contained in:
committed by
GitHub
parent
9a4ec54a5a
commit
ed8bdf1118
@@ -144,12 +144,22 @@ E.Options.args.maps = {
|
||||
showRaidMarkers = {
|
||||
order = 2,
|
||||
type = "toggle",
|
||||
name = L["Allow Map Markers from Raid Members"],
|
||||
name = L["Receive from Raid Members"],
|
||||
desc = L["Allows Raid Members to send you Map Markers"],
|
||||
get = function(info) return E.db.general.mapMarkers[info[#info]] end,
|
||||
set = function(info, value) E.db.general.mapMarkers[info[#info]] = value E:StaticPopup_Show("PRIVATE_RL") end,
|
||||
disabled = function() return not E.db.general.mapMarkers.enable end,
|
||||
},
|
||||
iconSize = {
|
||||
order = 3,
|
||||
type = "range",
|
||||
name = L["Icon Size"],
|
||||
desc = L["Set the size of the map markers"],
|
||||
min = 15, max = 50, step = 1,
|
||||
get = function(info) return E.db.general.mapMarkers[info[#info]] end,
|
||||
set = function(info, value) E.db.general.mapMarkers[info[#info]] = value E:StaticPopup_Show("PRIVATE_RL") end,
|
||||
disabled = function() return not E.db.general.mapMarkers.enable end,
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -609,4 +619,4 @@ E.Options.args.maps = {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user