Repository navigation
1.3.0
Added
- Added OverheadBars API
- Added optional
onPositionChange(window, x, y)andonPositionChange(panel, x, y, poppedOut)callbacks to be used for persisting component positions. These callbacks fire once the user stops their drag action on the targeted component. - Added automatic categoryID allocation via categoryID = "auto". Child components inherit the setting. In PrettyUI v2 this behavior will be the default, so it is important to migrate your plugin towards automatic categoryID allocation to ensure stability post-v2.
- Added
NewComponent,BuildCategoryGroup,WithCategoryBatch, andRefreshComponentIDsAPIs for custom component allocation. - Added
hideCloseButtonas a option to windows and dialogs. - Added a
useNativeTransparencyoption to windows and panels, with a matchingSetUseNativeTransparency(enabled)method, which when enabled makes them follow the player's native interface transparency setting. - Added an editable hex colour code caption beneath the colour picker preview.
Changed
- Dialog Component: Dialog footer actions can now be set to
Disabled - Tooltip UI objects (
root,label, frame sprites) are now built on firstShow()or first access, not inTooltip.attach. Tooltip:Hide()releases those objects, and the nextShow()rebuilds them. Tooltips with a customonMouseLeavehandler stay built.Tooltip.__indexis now a function, not theTooltiptable.- Hovering over edges of resizable surfaces now shows a feedback cursor when a resize action can be performed.
- The drag area for corners on rsizable surfaces has been widened to make it easier to grab onto them.
- Windows and panels can no longer be moved or resized while the player's interface is locked. To keep a component movable, set
respectInterfaceLock = falseor callSetRespectInterfaceLock(false).
Fixed
- Minimenu API: Optimized to reduce the amount of reads of
miniMenu.entriesand fixed misalignment issues when multiple plugins are using the API simultaneously. Tabs:SetActivenow hides tooltips on pages it deactivates, so they no longer stay visible after a tab switch.- Fixed an alignment issue on the close button for the window component.
- Corrected the default rotation direction of the
Spinnercomponent.
Deprecated
- Omitting
categoryIDwill emit a warning. In PrettyUI version 2categoryID = autobehavior will become the default and this may break existing library consumers so it is important to migrate and test auto-allocated categoryIDs before the switch.
Removed
- Removed previously deprecated
RibbonBarAPI - Removed previously deprecated
ScrollBarAPI
Other
- We now ship a LuaLS addon along with our GitHub releases that can be used for language server integration for PrettyUI in your IDE of choice
Credits
This version of PrettyUI contains changes from multiple community developers, a big thank you to: