Thread: frame replacing
View Single Post
10-05-14, 12:16 PM   #7
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
I'm not that motivated to dig into the code of ouF_Skaarj to be honest. But this you be a quick and dirty solution.

Try to replace

Lua Code:
  1. local customFilter = function(icons, unit, icon, name, rank, texture, count, dtype, duration, timeLeft, caster)
  2.     if((icons.onlyShowPlayer and icon.isPlayer) or (not icons.onlyShowPlayer and name)) then
  3.         return true
  4.     end
  5. end

in aura.lua with

Lua Code:
  1. local customFilter = function(icons, unit, icon, name, rank, texture, count, dtype, duration, timeLeft, caster)
  2.     if(((icons.onlyShowPlayer or IsShiftKeyDown()) and icon.isPlayer) or (not icons.onlyShowPlayer and name)) then
  3.         return true
  4.     end
  5. end

Didn't test this though.
  Reply With Quote