Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

BeginMenu and ContextMenuWindow missing top rounded corners #63

Closed
Avril112113 opened this issue Dec 3, 2020 · 1 comment
Closed

BeginMenu and ContextMenuWindow missing top rounded corners #63

Avril112113 opened this issue Dec 3, 2020 · 1 comment

Comments

@Avril112113
Copy link
Contributor

Just a note; I am still figuring out Slab, if I am missing something, my bad...

image
image

The tops of the context menu's are missing rounded corners.
For the MainMenuBar it makes sense to not have rounded corners.

It does make sense to have no rounded corners in this case though
image

Code (First Image)

if Slab.BeginContextMenuWindow() then
	Slab.MenuItem("BLANK")

	if Slab.BeginMenu("Create") then
		if Slab.MenuItem("Lamp") then
			print("Create Lamp")
		end

		if Slab.MenuItem("Button") then
			print("Create Lamp")
		end

		Slab.EndMenu()
	end

	Slab.EndContextMenu()
end
@coding-jackalope
Copy link
Collaborator

Hi @Dude112113, thanks for reporting this issue. The fix should be fairly trivial and will be included in the next update.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants