From 0a06a5cae061536030c57d921edc04aba80a9c8b Mon Sep 17 00:00:00 2001 From: WildCard_25 Date: Mon, 18 Mar 2019 03:34:51 +1100 Subject: [PATCH] Fix hiding of corner textures for option frame --- GarrisonCommander.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GarrisonCommander.lua b/GarrisonCommander.lua index 9b6348a..cdd977e 100644 --- a/GarrisonCommander.lua +++ b/GarrisonCommander.lua @@ -1177,7 +1177,7 @@ function addon:CreateHeader(module,MOVEPANEL,PIN) --@end-alpha@ -- Removing wood corner. I do it here to not derive an xml frame. This shoud play better with ui extensions GCF.CloseButton:Hide() - for _,f in pairs({GCF:GetRegions()}) do + for _,f in pairs({GCF.GarrCorners:GetRegions()}) do if (f:GetObjectType()=="Texture" and f:GetAtlas()=="Garr_WoodFrameCorner") then f:Hide() end end local main=module:GetMain() -- 1.7.9.5