WoWInterface - View Single Post - Nameplate creation with oUF
View Single Post
09-29-17, 10:42 PM   #5
An Onyxian Warder
Join Date: Feb 2016
Posts: 358
Thanks to both Kkthnx and lightspark.

I just revised my code and found that I had the following lines of code:

Lua Code:
  1. frame:SetScript("OnEnter", UnitFrame_OnEnter);
  2. frame:SetScript("OnLeave", UnitFrame_OnLeave);

What I thought was as long as I don't enable a mouse these functions would not run, but seems like these would automatically enable mouse even if I don't manually enable them.

Good practice haha!!

But lightspark, do you know what is going on with a bug on the video?

I really can't figure out why this is happening

Last edited by Layback_ : 09-29-17 at 11:01 PM.
  Reply With Quote