Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
ls- committed Feb 22, 2022
2 parents 3783f13 + d30800f commit 70a43e1
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 7 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# CHANGELOG

## Version 90105.06

- Preemptively updated buffs and debuffs to work with 9.2 changes.

NOTE: It's not a proper 90200.x update, that will happen on Thursday/Friday.

## Version 90105.05

- Fixed an issue where some movers would change their position by 4px in either direction. Primarily affected ToT, ToF,
Expand Down
2 changes: 1 addition & 1 deletion ls_UI.toc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Interface: 90105
## Author: lightspark
## Version: 90105.05
## Version: 90105.06
## Title: LS: |cff1a9fc0UI|r
## Notes: Yet another UI, but this one is a bit special...
## SavedVariablesPerCharacter: LS_UI_CHAR_CONFIG
Expand Down
18 changes: 12 additions & 6 deletions modules/auras/auras.lua
Original file line number Diff line number Diff line change
Expand Up @@ -199,13 +199,19 @@ end

local function header_OnAttributeChanged(self, attr, value)
-- Gotta catch 'em all!
if (attr:match("^child") or attr:match("^temp[Ee]nchant")) and not (buffs[value] or debuffs[value])then
handleButton(value, self)
if attr:match("^frameref%-child") or attr:match("^temp[Ee]nchant") then
if type(value) == "userdata" then
value = GetFrameHandleFrame(value)
end

if self:GetAttribute("filter") == "HELPFUL" then
buffs[value] = true
else
debuffs[value] = true
if not (buffs[value] or debuffs[value]) then
handleButton(value, self)

if self:GetAttribute("filter") == "HELPFUL" then
buffs[value] = true
else
debuffs[value] = true
end
end
end
end
Expand Down

0 comments on commit 70a43e1

Please sign in to comment.