Repository navigation
v3.5.0
It's a big one! and happy to say covers the majority of bugs and popular features that you guys have asked for over the last 15 months:
Highlights
- Appearance upgrade to match Roblox's Core UI
- Dropdowns close when you click or tap outside them
- Four new icon methods
- Support for Reduce Motion
- Healthbar is now accounted for
- Many essential bug fixes
New
icon:addInstance(guiObject, "Left" or "Right")adds your own GuiObjects inside an icon, left or right of the image and label. The icon resizes around them, they can be themed by Name and they're destroyed with the icon - credit to @I-Bat (#173)icon:setNoticeLabel(text)shows custom notice text like "!" instead of the count - credit toroblox: @NinjoOnlineicon:setCloseOnOutsideClick(false)opts out of dropdowns closing on outside clicks (which is now on by default) - credit to @kaan650 (#169)icon:setDestroyOnRespawn(false)keeps icons made under a ResetOnSpawn ScreenGui after the player respawns, for code that won't run again - credit toroblox: @mashkov_dev- Movement tweens are skipped for players with Reduce Motion on, and the gamepad selection gradient stops spinning. Captions still fade like Roblox's own - credit to @kaan650 (#167)
setImageacceptsContent(like EditableImage content), and numbers now becomerbxassetid://- credit to @kaan650- Misspelt theme instance names and properties now warn in Studio. Live games stay silent - credit to @kaan650
Fixes
- The "new version available" warning no longer fires for non-English players. Roblox translates the place name, so the version is now read from its digits so you can be properly informed when new TopbarPlus updates are out - credit to
roblox: @EtNowisandroblox: @ams_8m - Icons no longer get stuck on the Classic theme on slow devices - credit to
roblox: @UsedSpxseandroblox: @fkdAkla - Right-aligned icons move aside for Roblox's health bar while it shows - credit to @jdc20181 (#191), @ryanlua, @IdrisDose and @kaan650 (#138)
- Console icons now line up with Roblox's topbar, and the gap between icons matches Roblox's on every device
- Icons no longer resize a moment after joining
- Overflow re-checks when the left or right holder moves, so icons no longer overlap
- Fixed
math.clamperror spam when MinimumWidth is wider than the viewport - credit to @projoex (#220) setCaptionandnotifyon a destroyed icon now warn instead of erroring - credit to @Dannyftm (#203)- Fixed a connection leaking on every respawn for icons under a ResetOnSpawn ScreenGui
- Custom themes keep their Deselected values when the icon is selected, and hovering keeps the icon's current look - credit to @kaan650
- Dropdowns count the gaps between rows in their height, so DropdownList padding no longer cuts off the last row - credit to @I-Bat (#195)
- The menu close button clears a Viewing image properly - credit to @kaan650
- Captions stop drawing once fully faded
- Captions centre their content - credit to @ryanlua (#209)
- The outdated warning shows
current -> latest- credit to @ryanlua (#218)
Types, tooling and docs
- Type fixes for the new Luau type solver (#208), the
setTextFontfontStyle type (#205) and an exportedFieldstype (#212) - credit to @ryanlua - Types now match the code for
getIcons,setCornerRadius,destroyandsetImage, andnameandlockedare optional - credit to @kaan650 - Replaced deprecated
FontSize,TextWrapandGetProductInfo- credit to @ryanlua (#207) and @Dannyftm (#201, #202) - Wally licence, repository and homepage keys (#210, #211, #215) - credit to @ryanlua
disableOverlaydocs fix (#216) - credit to @ryanlua- CI now runs selene and a rojo build on every push and PR
- The docs have moved to https://nanoblox.com/topbarplus/
Worth knowing when updating
- Dropdowns now close on outside clicks. Call
:setCloseOnOutsideClick(false)to keep the old behaviour - Hover and selected highlights, dropdown rows and label colour now match Roblox, so icons look slightly different
- Players with Reduce Motion on won't see movement tweens
- Developers can now directly donate to support the development of TopbarPlus
Contributors
Thanks to the following for this release:
- @kaan650
- @ryanlua
- @I-Bat
- @jdc20181
- @IdrisDose
- @Dannyftm
- @projoex
roblox: @NinjoOnlineroblox: @mashkov_devroblox: @EtNowisroblox: @ams_8mroblox: @UsedSpxseroblox: @fkdAkla