Permalink
Browse files

Make search apply to bank aswell

  • Loading branch information...
1 parent 9754e42 commit 970f85b47cd6ae15c24f22ee45bb5d3b2f836002 @p3lim p3lim committed Sep 2, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 Cassone.lua
View
@@ -93,10 +93,12 @@ function container:OnCreate(name)
local search = self:SpawnPlugin('SearchBar', searchRegion)
search:SetFont(FONT, 8, 'MONOCHROMEOUTLINE')
search:SetShadowColor(0, 0, 0, 0)
+ search.isGlobal = true
search.Left:SetTexture(nil)
search.Center:SetTexture(nil)
search.Right:SetTexture(nil)
+
search.HighlightFunction = function(button, match)
button:SetAlpha(match and 1 or 0.1)
end

0 comments on commit 970f85b

Please sign in to comment.