from retail

This commit is contained in:
NoM0Re
2025-01-16 15:41:34 +01:00
parent 24196cd7ce
commit c090302487
7 changed files with 90 additions and 117 deletions
@@ -203,6 +203,9 @@ local function SoundPlayHelper(self)
end
local function hasSound(options)
--if options.sound_type == "Stop" then
--return true
--end
if (options.sound == " custom") then
if (options.sound_path and options.sound_path ~= "") then
return true
@@ -3,7 +3,7 @@ if not WeakAuras.IsLibsOK() then return end
local AddonName, Private = ...
-- This is a more or less 1:1 copy of SmoothStatusBarMixin except that it
-- doesn't clamp the targetValue in ProcesSmoothStatusBars, because that's incorrect for us
-- doesn't clamp the targetValue in ProcessSmoothStatusBars, because that's incorrect for us
local g_updatingBars = {};
local function IsCloseEnough(bar, newValue, targetValue)