1ForeverHD / TopbarPlus

Construct dynamic and intuitive topbar icons. Enhance the appearance and behaviour of these icons with features such as themes, dropdowns and menus.
https://devforum.roblox.com/t/topbarplus/1017485
Mozilla Public License 2.0
95 stars 123 forks source link

Toggling the TopUI Visibility #78

Closed yoavits closed 10 months ago

yoavits commented 10 months ago

I'm trying to control the visibility of the UI. I have a menu feature, that once I click on it, I want the menu to disappear.

I created a local script that basically builds the UI buttons, but it just breaks, so I assume it relates to the module scripts inside replicated storage.

https://github.com/1ForeverHD/TopbarPlus/assets/70520194/f9f062e0-adf2-44c1-95f4-bae7b3d8faaf

yoavits commented 10 months ago

The issue has been solved. The only thing that I'm having an issue with is updating the position of the topUI. I'm aware of the "updateTopbar()" function but I'm finding it hard to combine it with my code. I'd highly appreciate for help to finish with this asap.