More fixes

This commit is contained in:
Tercio Jose
2020-07-30 13:04:49 -03:00
parent 49c0742a07
commit 1923659ce1
5 changed files with 19 additions and 13 deletions
+1
View File
@@ -8,3 +8,4 @@ feedback_sites.blp
icons.blp
mail.blp
*.json
CHANGES.txt
+1 -1
View File
@@ -1,5 +1,5 @@
local dversion = 190
local dversion = 192
local major, minor = "DetailsFramework-1.0", dversion
local DF, oldminor = LibStub:NewLibrary (major, minor)
+12 -8
View File
@@ -5123,6 +5123,7 @@ DF.IconRowFunctions = {
cooldownFrame:SetAllPoints()
cooldownFrame:EnableMouse (false)
cooldownFrame:SetFrameLevel (newIconFrame:GetFrameLevel()+1)
cooldownFrame.noCooldownCount = self.options.surpress_tulla_omni_cc
newIconFrame.CountdownText = cooldownFrame:CreateFontString (nil, "overlay", "GameFontNormal")
--newIconFrame.CountdownText:SetPoint ("center")
@@ -5347,6 +5348,7 @@ local default_icon_row_options = {
backdrop_border_color = {0, 0, 0, 1},
anchor = {side = 6, x = 2, y = 0},
grow_direction = 1, --1 = to right 2 = to left
surpress_tulla_omni_cc = false,
}
function DF:CreateIconRow (parent, name, options)
@@ -8299,17 +8301,18 @@ DF.CastFrameFunctions = {
self.flashTexture:Hide()
self:Animation_StopAllAnimations()
self:SetAlpha (1)
--> set the statusbar color
self:UpdateCastColor()
if (not self:IsShown()) then
self:Animation_FadeIn()
end
self.Spark:Show()
self:SetAlpha (1)
self:Show()
--> set the statusbar color
self:UpdateCastColor()
--> update the interrupt cast border
self:UpdateInterruptState()
@@ -8355,16 +8358,17 @@ DF.CastFrameFunctions = {
self.flashTexture:Hide()
self:Animation_StopAllAnimations()
self:SetAlpha (1)
--> set the statusbar color
self:UpdateCastColor()
if (not self:IsShown()) then
self:Animation_FadeIn()
end
self.Spark:Show()
self:SetAlpha (1)
self:Show()
--> set the statusbar color
self:UpdateCastColor()
--> update the interrupt cast border
self:UpdateInterruptState()
+4 -3
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -148,7 +148,7 @@ function _detalhes:OpenOptionsWindow (instance, no_reopen, section)
if (not window or not window.Initialized) then
local options_button_template = g:GetTemplate ("button", "OPTIONS_BUTTON_TEMPLATE")
local options_dropdown_template = g:GetTemplate ("dropdown", "OPTIONS_DROPDOWN_TEMPLATE")
local options_dropdown_template = DetailsFramework:GetTemplate ("dropdown", "OPTIONS_DROPDOWN_TEMPLATE")
local options_slider_template = g:GetTemplate ("slider", "OPTIONS_SLIDER_TEMPLATE")
local options_switch_template = g:GetTemplate ("switch", "OPTIONS_CHECKBOX_BRIGHT_TEMPLATE")