Renamed "Zoom" to "Button Border" and make it do its thing again

This commit is contained in:
Hendrik Leppkes
2008-11-11 16:51:20 +01:00
parent 63952f13f7
commit ccf041bdcd
11 changed files with 26 additions and 23 deletions
+6 -3
View File
@@ -162,10 +162,13 @@ function ButtonBar:UpdateButtonLayout()
if not LBF then
for i = 1, #buttons do
local button = buttons[i]
if button.icon and self.config.skin.Zoom then
if button.icon then
button.icon:SetTexCoord(0.07,0.93,0.07,0.93)
elseif button.icon then
button.icon:SetTexCoord(0,1,0,1)
if self.config.skin.Zoom then
button.normalTexture:Hide()
else
button.normalTexture:Show()
end
end
end
end