Releases: Carnagion/IsleWard-AddonSettingsFramework
Releases · Carnagion/IsleWard-AddonSettingsFramework
Addon Settings Framework 1.1.2
This release includes a few miscellaneous tweaks. to prevent storing the same object in multiple places globally.
Tweaks
- The
events
object is no longer stored inwindow.events
- Uses
window.addons.events
provided by IsleWard instead
- Uses
- The
defer()
function is now replaced with a more generalretry()
function
Addon Settings Framework 1.1.1
This release fixes a minor (but potentially game-breaking) bug.
Fixes
- When fetching an initial value from local storage for toggles, the setting's value is reset if the fetched value isn't contained in the array of values
- Prevents an infinite loop from occurring if the array of values is changed
Addon Settings Framework 1.1.0
This release adds support for persisting setting values.
Additions
- The values of settings are now saved to local storage upon change
- Before setting initial values of settings, stored values are fetched from local storage and used instead if available
Fixes
- If using minimum and maximum values other than 0 and 100 for slider, the slider tick is now displayed at a position calculated as the percentage (from 0 to 100) instead of simply using the raw value