Skip to content

Commit

Permalink
Change Logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Tercioo committed Jan 20, 2024
1 parent b7c2b6c commit 3298663
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 10 deletions.
4 changes: 2 additions & 2 deletions Libs/DF/button.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down
4 changes: 2 additions & 2 deletions Libs/DF/fw.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


local dversion = 504
local dversion = 507
local major, minor = "DetailsFramework-1.0", dversion
local DF, oldminor = LibStub:NewLibrary(major, minor)

Expand Down Expand Up @@ -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},
Expand Down
11 changes: 7 additions & 4 deletions Libs/DF/panel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down Expand Up @@ -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()
Expand Down Expand Up @@ -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

Expand All @@ -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

Expand Down Expand Up @@ -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("")
Expand Down
11 changes: 9 additions & 2 deletions boot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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).",
Expand Down

0 comments on commit 3298663

Please sign in to comment.