Skip to content

Commit

Permalink
Keep the SetAll function call as is
Browse files Browse the repository at this point in the history
Pass true as an argument to the OpenTexturePicker
function instead of changing the SetAll function call
  • Loading branch information
Nightwarden24 committed Dec 19, 2023
1 parent ecbee5d commit 6c68bd8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion WeakAurasOptions/OptionsFrames/TexturePicker.lua
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ local function ConstructTexturePicker(frame)
wipe(group.selectedTextures)
group.selectedTextures[texturePath] = true

SetAll(self.baseObject, self.path, self.properties.texture, texturePath, width, height, flipbookInfo and true or self.adjustSize)
SetAll(self.baseObject, self.path, self.properties.texture, texturePath, width, height, self.adjustSize)

group:UpdateList();
local status = dropdown.status or dropdown.localstatus
Expand Down
4 changes: 2 additions & 2 deletions WeakAurasOptions/RegionOptions/StopMotion.lua
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ local function createOptions(id, data)
color = "foregroundColor",
mirror = "mirror",
blendMode = "blendMode"
}, texture_types, setTextureFunc);
}, texture_types, setTextureFunc, true);
end,
imageWidth = 24,
imageHeight = 24,
Expand Down Expand Up @@ -383,7 +383,7 @@ local function createOptions(id, data)
color = "backgroundColor",
mirror = "mirror",
blendMode = "blendMode"
}, texture_types, setTextureFunc);
}, texture_types, setTextureFunc, true);
end,
disabled = function() return data.sameTexture or data.hideBackground; end,
hidden = function() return data.hideBackground end,
Expand Down

0 comments on commit 6c68bd8

Please sign in to comment.