View Single Post
09-22-14, 10:19 AM   #5
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
Originally Posted by Ereki View Post
On live the sprial is contained within the borders of the rune.
Find a round texture to use with cooldown:SetSwipeTexture.

The swipe texture isn't round on live, its corners are just being covered by the round border. It's not actually possible to create a round cooldown texture on live.

This seems to work, although I have managed to crash the client several times attempting to change the swipe texture while it was running.
Lua Code:
  1. for i = 1, 6 do
  2.     local cooldown = _G['RuneButtonIndividual' .. i .. 'Cooldown']
  3.     cooldown:SetSwipeTexture('interface/CHARACTERFRAME/TempPortraitAlphaMaskSmall')
  4.     cooldown:SetSwipeColor(0, 0, 0, 0.3)
  5. end
After you set the texture you should only need to call SetSwipeColor when you want to update its alpha. Unlike SetSwipeTexture, it appears to update the swipe immediately.

Last edited by semlar : 09-22-14 at 10:35 AM.
  Reply With Quote