View Single Post
05-05-08, 01:18 PM   #13
Everglow
An Aku'mai Servant
 
Everglow's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 36
Originally Posted by Slakah View Post
tekChatBorderFix

Also why are you hooking OnUpdate, why not just set OnShow to hide the frame.
Well, my mod has the added bonus of making the screen less cluttered when in combat. Besides, even with Tekkub's fix, you might hover over a link in chat, or click on one, potentially popping up a big tooltip.

As to why I hooked OnUpdate, it's because otherwise I would have to set/reset 21 API scripts every time combat started/ended, meaning copying them to yet another table. Besides, it's more efficient to add a couple of instructions to a global handler (ie. the only added memory writes are to the cpu registers) than to be rewriting (in RAM) a frame event handler many times during play.
__________________
Everglow - Sisters of Elune/US
  Reply With Quote