unitframes: improve performance

* Only :SetValue if required
* Option to bypass animations and allow instant refreshs
* Instant refresh on new units
This commit is contained in:
shagu
2017-09-18 23:40:59 +02:00
parent e8e413624f
commit 4808601398
2 changed files with 65 additions and 34 deletions
+1
View File
@@ -8,6 +8,7 @@ pfUI:RegisterModule("targettarget", function ()
pfUI.uf.targettarget:Show()
else
pfUI.uf.targettarget:Hide()
pfUI.uf.targettarget.lastUnit = nil
end
end)