comparison Libs/DF/scrollbar.lua @ 58:0682d738499b v8.0.1.058

- 8.0.1 Update.
author Tercio
date Fri, 20 Jul 2018 19:04:12 -0300
parents dc1c77254f80
children
comparison
equal deleted inserted replaced
57:b1c62eed8999 58:0682d738499b
124 end) 124 end)
125 botao_cima:SetScript ("OnMouseUp", function(self) 125 botao_cima:SetScript ("OnMouseUp", function(self)
126 self.precionado = false 126 self.precionado = false
127 self:SetScript ("OnUpdate", nil) 127 self:SetScript ("OnUpdate", nil)
128 end) 128 end)
129 --> isso aqui pra quando o slider ativar, o scroll fica na posição zero 129 --> isso aqui pra quando o slider ativar, o scroll fica na posi��o zero
130 botao_cima:SetScript ("OnEnable", function (self) 130 botao_cima:SetScript ("OnEnable", function (self)
131 local current = new_slider:GetValue() 131 local current = new_slider:GetValue()
132 if (current == 0) then 132 if (current == 0) then
133 botao_cima:Disable() 133 botao_cima:Disable()
134 end 134 end