Results: 3Comments by: dvstans
File: LibAddonMenu-2.007/24/14
Re: Re: Re: Re: How to handle setting updates on close
Posted By: dvstans
Yep, I'd prefer to apply settings once without resorting to an "apply" button. I was guessing that there would be a way to hook into a close/hide event for the settings panel to trigger the re-initialization of the module. Applying in real-time works, but it seems that it may lead to unresponsiveness with, say, slider controls (I'm a...
File: LibAddonMenu-2.007/23/14
Re: Re: How to handle setting updates on close
Posted By: dvstans
re-inits who-what-now? Are you talking about when your settings actually take place and the set function is called? If you want all of the settings to be applied at once then you would create an "Apply" button for your config. Otherwise, most everyone has their settings take effect in real-time. Yep, I'd prefer to apply sett...
File: LibAddonMenu-2.007/22/14
How to handle setting updates on close
Posted By: dvstans
Hi, very new to ESOUI and Lua, but have managed to get my add-on working with LibAddOnMenu2 (cool stuff!). I'm wondering if there's an easy way to handle re-inits once - only when the settings page is closed. I have it working now where updates are triggered each time an individual setting is changed, but this is very tedious to code...