This commit is contained in:
Bunny67
2020-07-31 19:46:21 +03:00
parent 549b04ce78
commit 02c047002d
49 changed files with 850 additions and 451 deletions
+1 -1
View File
@@ -240,7 +240,7 @@ local function createOptions(id, data)
width = WeakAuras.halfWidth,
order = 44.3,
func = function()
WeakAuras.OpenTexturePicker(data, "sparkTexture", WeakAuras.texture_types);
WeakAuras.OpenTexturePicker(data, data, "sparkTexture", WeakAuras.texture_types);
end,
disabled = function() return not data.spark end,
hidden = function() return not data.spark end,
@@ -33,7 +33,7 @@ local function createOptions(id, data)
width = WeakAuras.halfWidth,
order = 12,
func = function()
WeakAuras.OpenTexturePicker(data, "foregroundTexture", WeakAuras.texture_types);
WeakAuras.OpenTexturePicker(data, data, "foregroundTexture", WeakAuras.texture_types);
end
},
sameTexture = {
@@ -48,7 +48,7 @@ local function createOptions(id, data)
width = WeakAuras.halfWidth,
order = 17,
func = function()
WeakAuras.OpenTexturePicker(data, "backgroundTexture", WeakAuras.texture_types);
WeakAuras.OpenTexturePicker(data, data, "backgroundTexture", WeakAuras.texture_types);
end,
disabled = function() return data.sameTexture; end
},
+1 -1
View File
@@ -31,7 +31,7 @@ local function createOptions(id, data)
width = WeakAuras.halfWidth,
order = 7,
func = function()
WeakAuras.OpenTexturePicker(data, "texture", WeakAuras.texture_types);
WeakAuras.OpenTexturePicker(data, data, "texture", WeakAuras.texture_types);
end
},
color = {