daftUIFade

1.1k Downloads

Fades out entire UI when not in use.

Features:


  • Since this fades UIParent, it will affect all addons.
  • Fades in UI when in combat or when casting outside combat.
  • Fades in UI when a window pops up.
  • Fades in UI when targeting anything or mousing over anything.
  • Fades in UI when world map, mailbox, or gossip frame is shown.
  • Fades in UI when typing a message in chat edit box or mousing over chat boxes.

Settings can be edited completely in the Options.lua file, as previewed below.

addonTable.TIMETOFADEIN = 1.0;
addonTable.FADEIN = 0.95;

addonTable.TIMETOFADEOUT = 3.0;
addonTable.FADEOUT = 0.05;

+Lightweight on code to stand the test of time (and patches).

Special thanks to Krainz for introducing the idea to use UIParent.