From 85dcc8968d0d0bc3b6921896a8aa8b81bd881518 Mon Sep 17 00:00:00 2001 From: Alar of Daggerspine Date: Wed, 26 Aug 2015 00:06:46 +0200 Subject: [PATCH] Fixed header height in little screen Signed-off-by: Alar of Daggerspine --- GarrisonCommander.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/GarrisonCommander.lua b/GarrisonCommander.lua index bda4074..190d0f4 100644 --- a/GarrisonCommander.lua +++ b/GarrisonCommander.lua @@ -1174,7 +1174,10 @@ function addon:CreateHeader(module) local main=module:GetMain() GCF:SetFrameStrata(main:GetFrameStrata()) GCF:SetFrameLevel(main:GetFrameLevel()-2) - if (not ns.bigscreen and not module) then GCF:SetHeight(190) end + if (not ns.bigscreen and module == self) then GCF:SetHeight(130) end +--@debug@ +print(GCF:GetHeight()) +--@end-debug@ baseHeight=GCF:GetHeight() minHeight=47 GCF.CloseButton:SetScript("OnClick",nil) -- 1.7.9.5