From 63801998341db4b06d537f296a82f56a32e5a37b Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Thu, 25 Mar 2010 04:43:03 -0400 Subject: [PATCH] In MainPanel.scroll_frame:ExpandAcquireData(): Clarified some code and increased padding from two spaces to four. --- Frame.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Frame.lua b/Frame.lua index 567309e..ba6fe31 100644 --- a/Frame.lua +++ b/Frame.lua @@ -2928,7 +2928,7 @@ do function MainPanel.scroll_frame:ExpandAcquireData(entry_index, entry_type, acquire_type, acquire_data, recipe_id, hide_type) local obtain_filters = addon.db.profile.filters.obtain local rep_color = private.reputation_colors - local padding = " " + local padding = " " if acquire_type == A.TRAINER and obtain_filters.trainer then for id_num in pairs(acquire_data) do @@ -3215,15 +3215,17 @@ do if recipe_entry.is_visible and recipe_entry.is_relevant then local t = AcquireTable() local expand = false + local type = "subheader" if acquire_id == A.WORLD_DROP or acquire_id == A.CUSTOM then expand = true + type = "entry" end t.text = FormatRecipeText(recipe_entry) t.recipe_id = spell_id t.acquire_id = acquire_id - entry_index = self:InsertEntry(t, entry_index, expand and "entry" or "subheader", expand) + entry_index = self:InsertEntry(t, entry_index, type, expand) end end elseif list_entry.type == "subheader" then -- 1.7.9.5