A
new version of LAM is available now.
There are still
a lot of addons that didn't update to r19 until now, so I decided to make a news post of sorts in the hope that it will encourage more authors to switch to the new version.
Here are the
changes for r19 and r20:
2.0 r20
- fixed empty panels not firing LAM-PanelControlsCreated (
#32)
- removed height constraint of 2500 from submenus (
#34)
- added two new callbacks LAM-PanelOpened and LAM-PanelClosed. Both pass the panel as their sole argument (
#27)
- 'default' can now be a function in addition to a static value (
#23)
- all labels (name, tooltip, warning, etc.) can now be a string id or function in addition to a static string (
#22)
- updated LibStub to r4
2.0 r19
- made icon picker choicesTooltips array optional
- added support for custom panel objects without a GetWidth method (partially fixes
#26)
- fixed controls not refreshing correctly when they are initialized with a boolean "false" on the disabled property (
#35, thanks Randactyl)
- removed height constraint on the description control (
#36, thanks KuroiLight)
- added "isExtraWide" property to editboxes, allowing them to utilize more space (
#37, thanks KuroiLight)
- added "decimals" property to sliders to allow rounding values to x decimals (
#38, implements
#21, thanks KuroiLight)
- added mousewheel support for sliders (
#39, implements
#30, thanks KuroiLight)