From b5c7d32db4dffc00781183b887e3d216916ef90c Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Wed, 2 Mar 2016 11:35:22 +0100 Subject: [PATCH] visual change in post tab --- core.xml | 21 --------------------- item_listing.lua | 2 +- post_frame.lua | 2 +- 3 files changed, 2 insertions(+), 23 deletions(-) diff --git a/core.xml b/core.xml index 9c7fa59..d475ce0 100644 --- a/core.xml +++ b/core.xml @@ -100,27 +100,6 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/item_listing.lua b/item_listing.lua index e678845..592d47e 100644 --- a/item_listing.lua +++ b/item_listing.lua @@ -23,7 +23,7 @@ function public.render(item_listing) row.highlight:Hide() end getglobal(row.item:GetName()..'IconTexture'):SetTexture(item_record.texture) - getglobal(row.item:GetName()..'Name'):SetText(item_record.name) + getglobal(row.item:GetName()..'Name'):SetText('['..item_record.name..']') local color = ITEM_QUALITY_COLORS[item_record.quality] getglobal(row.item:GetName()..'Name'):SetTextColor(color.r, color.g, color.b) if item_record.aux_quantity > 1 then diff --git a/post_frame.lua b/post_frame.lua index f0d3533..6889691 100644 --- a/post_frame.lua +++ b/post_frame.lua @@ -667,7 +667,7 @@ function private.update_recommendation() private.hide_checkbox:Show() AuxSellParametersItemIconTexture:SetTexture(selected_item.texture) - AuxSellParametersItemName:SetText(selected_item.name) + AuxSellParametersItemName:SetText('['..selected_item.name..']') local color = ITEM_QUALITY_COLORS[selected_item.quality] AuxSellParametersItemName:SetTextColor(color.r, color.g, color.b) if selected_item.aux_quantity > 1 then