From 3086da3e5daf954ca60d4a08bcc7685204798d2c Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Fri, 26 Mar 2010 06:25:28 -0400 Subject: [PATCH] Moved NUM_RECIPE_LINES into the do-block with MainPanel.scroll_frame:Update() and kin. --- Frame.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Frame.lua b/Frame.lua index 36bf228..03ff72d 100644 --- a/Frame.lua +++ b/Frame.lua @@ -95,7 +95,6 @@ local CATEGORY_TEXT = { ["misc"] = _G.MISCELLANEOUS } -local NUM_RECIPE_LINES = 24 -- Number of visible lines in the scrollframe. local SEASONAL_CATEGORY = GetCategoryInfo(155) -- Localized string - "World Events" local MAINPANEL_NORMAL_WIDTH = 293 @@ -2391,6 +2390,9 @@ MainPanel.scroll_frame.state_buttons = {} MainPanel.scroll_frame.entry_buttons = {} do + -- Number of visible lines in the scrollframe. + local NUM_RECIPE_LINES = 24 + local highlight = CreateFrame("Frame", nil, UIParent) highlight:SetFrameStrata("TOOLTIP") highlight:Hide() -- 1.7.9.5