Change Logs
This commit is contained in:
+2
-2
@@ -1037,7 +1037,7 @@ end
|
||||
------------------------------------------------------------------------------------------------------------
|
||||
--color picker button
|
||||
local pickcolorCallback = function(self, red, green, blue, alpha, button)
|
||||
alpha = math.abs(alpha - 1)
|
||||
alpha = math.max(0, math.min(1, alpha))
|
||||
button.MyObject.color_texture:SetVertexColor(red, green, blue, alpha)
|
||||
|
||||
--safecall
|
||||
@@ -1047,7 +1047,7 @@ end
|
||||
|
||||
local pickcolor = function(self)
|
||||
local red, green, blue, alpha = self.MyObject.color_texture:GetVertexColor()
|
||||
alpha = math.abs(alpha - 1)
|
||||
alpha = math.max(0, math.min(1, alpha))
|
||||
detailsFramework:ColorPick(self, red, green, blue, alpha, pickcolorCallback)
|
||||
end
|
||||
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
|
||||
|
||||
local dversion = 504
|
||||
local dversion = 507
|
||||
local major, minor = "DetailsFramework-1.0", dversion
|
||||
local DF, oldminor = LibStub:NewLibrary(major, minor)
|
||||
|
||||
@@ -3867,7 +3867,7 @@ local specs_per_class = {
|
||||
["ROGUE"] = {259, 260, 261},
|
||||
["DRUID"] = {102, 103, 104, 105},
|
||||
["HUNTER"] = {253, 254, 255},
|
||||
["SHAMAN"] = {262, 263, 254},
|
||||
["SHAMAN"] = {262, 263, 264},
|
||||
["PRIEST"] = {256, 257, 258},
|
||||
["WARLOCK"] = {265, 266, 267},
|
||||
["PALADIN"] = {65, 66, 70},
|
||||
|
||||
+7
-4
@@ -87,9 +87,9 @@ local default_framelayout_options = {
|
||||
offset_x = 100,
|
||||
use__width = false, --__width from the widget
|
||||
offset_y = 20,
|
||||
width = 0, --if bigger than 0, it will set the value
|
||||
width = 1,
|
||||
min_width = 0,
|
||||
height = 0,
|
||||
height = 1,
|
||||
break_if_hidden = true, --stop if encounters a hidden frame
|
||||
}
|
||||
|
||||
@@ -1484,7 +1484,7 @@ end
|
||||
|
||||
------------color pick
|
||||
local _, _, _, toc = GetBuildInfo()
|
||||
if (toc >= 100205) then
|
||||
if ((ColorPickerFrame and ColorPickerFrame.SetupColorPickerAndShow) or toc >= 100205) then -- maybe fallback to only check CPF in the future
|
||||
local color_pick_func = function(...)
|
||||
local r, g, b = ColorPickerFrame:GetColorRGB()
|
||||
local a = ColorPickerFrame:GetColorAlpha()
|
||||
@@ -1536,12 +1536,14 @@ else
|
||||
local color_pick_func = function()
|
||||
local r, g, b = ColorPickerFrame:GetColorRGB()
|
||||
local a = OpacitySliderFrame:GetValue()
|
||||
a = math.abs(a - 1)
|
||||
ColorPickerFrame:dcallback (r, g, b, a, ColorPickerFrame.dframe)
|
||||
end
|
||||
local color_pick_func_cancel = function()
|
||||
ColorPickerFrame:SetColorRGB (unpack(ColorPickerFrame.previousValues))
|
||||
local r, g, b = ColorPickerFrame:GetColorRGB()
|
||||
local a = OpacitySliderFrame:GetValue()
|
||||
a = math.abs(a - 1)
|
||||
ColorPickerFrame:dcallback (r, g, b, a, ColorPickerFrame.dframe)
|
||||
end
|
||||
|
||||
@@ -1557,6 +1559,7 @@ else
|
||||
ColorPickerFrame.opacityFunc = color_pick_func
|
||||
ColorPickerFrame.cancelFunc = color_pick_func_cancel
|
||||
|
||||
alpha = math.abs(alpha - 1)
|
||||
ColorPickerFrame.opacity = alpha
|
||||
ColorPickerFrame.hasOpacity = alpha and true
|
||||
|
||||
@@ -4221,7 +4224,7 @@ detailsFramework.RadioGroupCoreFunctions = {
|
||||
if (optionTable.mask) then
|
||||
checkbox.Icon:SetMask(optionTable.mask)
|
||||
else
|
||||
checkbox.Icon:SetMask(nil)
|
||||
checkbox.Icon:SetMask("")
|
||||
end
|
||||
else
|
||||
checkbox.Icon:SetTexture("")
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
local addonName, Details222 = ...
|
||||
local version, build, date, tocversion = GetBuildInfo()
|
||||
|
||||
Details.build_counter = 12222
|
||||
Details.alpha_build_counter = 12222 --if this is higher than the regular counter, use it instead
|
||||
Details.build_counter = 12236
|
||||
Details.alpha_build_counter = 12236 --if this is higher than the regular counter, use it instead
|
||||
Details.dont_open_news = true
|
||||
Details.game_version = version
|
||||
Details.userversion = version .. " " .. Details.build_counter
|
||||
@@ -157,6 +157,13 @@ do
|
||||
--]=]
|
||||
|
||||
local news = {
|
||||
{"v10.2.0.12236.155", "January 20th, 2024"},
|
||||
"Added Blistering Scales and Mana Restored to the Evoker Predicted Damage bar.",
|
||||
"Fixed an issue which was making the Evoker Predicted Damage bar to show beyond the window width.",
|
||||
"Fixed the key level up animation at the new End of Mythic+ Run panel.",
|
||||
"Lib Open Raid updated to use Burst communications (Grim). The command /keys should give all Keys of the party almost instantly now.",
|
||||
"Framework updated and other minor fixes.",
|
||||
|
||||
{"v10.2.0.12220.155", "January 14th, 2024"},
|
||||
"Ignoring the heal of Smoldering Seedling trinket (Flamanis).",
|
||||
"Attribute Judgement of Light to the healed on Wrath (Flamanis).",
|
||||
|
||||
Reference in New Issue
Block a user