- Fixed ticket #47: Title bar font resets with UI reload / relog.

- Fixed ticket #46: Icon select panel wasn't opening.
- Fixed ticket #45: Windwalker icon for Mistweaver monks.
- Fixed title bar text changing its font after logon.
This commit is contained in:
Tercio
2015-08-02 19:44:31 -03:00
parent 4f6365a583
commit dd0f6d33cb
5 changed files with 21 additions and 17 deletions
+3 -3
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -3375,7 +3375,7 @@
function _detalhes:CreateBattlegroundSegment()
_current_combat:SetStartTime (_GetTime())
print ("Battleground has begun.")
--print ("Battleground has begun.")
end
-- ~load
+1 -1
View File
@@ -944,7 +944,7 @@
DBM:RegisterCallback ("pull", dbm_callback_pull)
--DBM:RegisterCallback ("DBM_TimerStart", function (a, b, c, d, e, f, g)
-- print (a, b, c, d, e, f, g)
-- print ("details", a, b, c, d, e, f, g)
--end)
end
+10 -8
View File
@@ -2724,14 +2724,16 @@ local function iterate_scroll_scripts (backgrounddisplay, backgroundframe, basef
end
elseif (delta < 0) then --> rolou pra baixo
local B = instancia.barraS[2]
if (B < (instancia.rows_showing or 0)) then
scrollbar:SetValue (scrollbar:GetValue() + instancia.row_height * _detalhes.scroll_speed)
else
local _, maxValue = scrollbar:GetMinMaxValues()
scrollbar:SetValue (maxValue)
scrollbar.ultimo = maxValue
baseframe.button_down:Disable()
end
--if (B) then
if (B < (instancia.rows_showing or 0)) then
scrollbar:SetValue (scrollbar:GetValue() + instancia.row_height * _detalhes.scroll_speed)
else
local _, maxValue = scrollbar:GetMinMaxValues()
scrollbar:SetValue (maxValue)
scrollbar.ultimo = maxValue
baseframe.button_down:Disable()
end
--end
end
end)
+6 -4
View File
@@ -173,10 +173,12 @@ function _G._detalhes:Start()
--> refresh lower instance plugin icons and skin
_detalhes.ToolBar:ReorganizeIcons()
--> refresh skin for other windows
for i = lower_instance+1, #self.tabela_instancias do
local instance = self:GetInstance (i)
if (instance and instance.baseframe and instance.ativa) then
instance:ChangeSkin()
if (lower_instance) then
for i = lower_instance+1, #self.tabela_instancias do
local instance = self:GetInstance (i)
if (instance and instance.baseframe and instance.ativa) then
instance:ChangeSkin()
end
end
end