Skip to content

Commit

Permalink
Minor tweaks in the options.
Browse files Browse the repository at this point in the history
  • Loading branch information
CruelDrool committed May 10, 2023
1 parent a60846b commit f49cbad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,12 @@ local options = {
minimapIcon = {
order = 1,
type = "toggle",
width = 1.0225,
name = L["Minimap icon"],
desc = L["Show an icon to open the config at the Minimap"],
desc = L["Show an icon to open the config at the Minimap."],
get = function() return not addon.db.profile.minimapIcon.hide end,
set = function(info, value) addon.db.profile.minimapIcon.hide = not value; LDBIcon[value and "Show" or "Hide"](LDBIcon, addonName) end,
disabled = function() return not LDBIcon end,
-- disabled = function() return not LDBTitan end,
},
fileFormat = {
order = 2,
Expand All @@ -170,7 +170,7 @@ local options = {
func = function() LibStub("AceConfigDialog-3.0"):Close(addonName); addon:ExportData() end,
},
settings = {
order = 2,
order = 4,
type = "group",
name = L["Settings"],
args = {
Expand Down
2 changes: 1 addition & 1 deletion Localization/enUS.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ L["YAML"] = true

-- OPTIONS --
L["Minimap icon"] = true
L["Show an icon to open the config at the Minimap"] = true
L["Show an icon to open the config at the Minimap."] = true
L["Export"] = true
L["WARNING! Large exports may freeze your game for several seconds!"] = true
L["Settings"] = true
Expand Down

0 comments on commit f49cbad

Please sign in to comment.