feat: category type

This commit is contained in:
Salikh Gurgenidze
2025-12-23 20:22:39 +04:00
parent 4aae3f89f6
commit 0eb173ad7e
5 changed files with 425 additions and 25 deletions
+8
View File
@@ -47,12 +47,20 @@ function DB:Initialize()
bgTransparency = 0.15,
showTrackedItems = true,
showTooltipCounts = true,
bagViewType = "single", -- single, category
bankViewType = "single", -- single, category
trackedItems = {},
},
}
end
-- Ensure new settings exist for existing installations
if Guda_CharDB.settings.bagViewType == nil then
Guda_CharDB.settings.bagViewType = "single"
end
if Guda_CharDB.settings.bankViewType == nil then
Guda_CharDB.settings.bankViewType = "single"
end
if Guda_CharDB.settings.showTooltipCounts == nil then
Guda_CharDB.settings.showTooltipCounts = true
end