comparison ui/AmrUiDropDown.lua @ 81:0515882856f1 v38

updated for 7.0
author yellowfive
date Tue, 19 Jul 2016 10:05:32 -0700
parents a892c863c86a
children a0894ffebd15
comparison
equal deleted inserted replaced
80:8f235b016212 81:0515882856f1
135 135
136 item:SetPushedTextOffset(0, 0) 136 item:SetPushedTextOffset(0, 0)
137 137
138 -- not perfect, but more or less achieves the effect of lightening the bg color slightly on hover 138 -- not perfect, but more or less achieves the effect of lightening the bg color slightly on hover
139 local texHigh = item:CreateTexture(nil, "BORDER") 139 local texHigh = item:CreateTexture(nil, "BORDER")
140 texHigh:SetTexture(1, 1, 1, 0.1) 140 texHigh:SetColorTexture(1, 1, 1, 0.1)
141 texHigh:SetAllPoints(true) 141 texHigh:SetAllPoints(true)
142 item:SetHighlightTexture(texHigh) 142 item:SetHighlightTexture(texHigh)
143 143
144 item:SetScript("OnClick", itemOnClick) 144 item:SetScript("OnClick", itemOnClick)
145 145