This commit is contained in:
Bunny67
2020-08-20 17:47:47 +03:00
parent f9e5026dec
commit 72eed41cf0
38 changed files with 422 additions and 197 deletions
+2 -2
View File
@@ -886,10 +886,10 @@ local function modify(parent, region, data)
function region:SetTexture(texture)
region.currentTexture = texture;
region.foreground:SetTexture(texture, region.textureWrapMode, region.textureWrapMode);
region.foreground:SetTexture(texture);
foregroundSpinner:SetTexture(texture);
if (data.sameTexture) then
background:SetTexture(texture, region.textureWrapMode, region.textureWrapMode);
background:SetTexture(texture);
backgroundSpinner:SetTexture(texture);
end
end