raid: move config to raid subgroup
This commit is contained in:
+8
-2
@@ -9,7 +9,13 @@ local module = ShaguTweaks:register({
|
|||||||
category = T["Raid Frames"],
|
category = T["Raid Frames"],
|
||||||
maintainer = "@shagu (GitHub)",
|
maintainer = "@shagu (GitHub)",
|
||||||
enabled = true,
|
enabled = true,
|
||||||
config = { width = 64, height = 32, rows = 10 }
|
config = {
|
||||||
|
raid = {
|
||||||
|
width = 64,
|
||||||
|
height = 32,
|
||||||
|
rows = 10
|
||||||
|
}
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
local components = {}
|
local components = {}
|
||||||
@@ -598,6 +604,6 @@ module.enable = function(self)
|
|||||||
ShaguTweaks.DarkenFrame(raid.cluster)
|
ShaguTweaks.DarkenFrame(raid.cluster)
|
||||||
|
|
||||||
-- assign default config
|
-- assign default config
|
||||||
raid.cluster.config = module.config
|
raid.cluster.config = module.config.raid
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user