sirinsidiator / ESO-LibAddonMenu

http://www.esoui.com/downloads/info7-LibAddonMenu.html
Artistic License 2.0
41 stars 20 forks source link

New "enableLinks" option for description widget #102

Closed silvereyes333 closed 4 years ago

silvereyes333 commented 5 years ago

Three possible values allowed:

silvereyes333 commented 5 years ago

I think you might be confusing the descriptionData table with the desc control instance. The implication that self refers to desc is accurate, because desc is the control.

That said, there's no real reason to be creating a separate handler function for every unique instance of the description widget. I also don't need need access to any of the local variables in the surrounding method, so there's no reason to use an anonymous method and incur the overhead of a closure. I moved the handler to a local function instead.