Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

CEGUI buttons trigger even when they are hidden or disabled #1178

Open
MrDadosz opened this issue Dec 6, 2019 · 0 comments
Open

CEGUI buttons trigger even when they are hidden or disabled #1178

MrDadosz opened this issue Dec 6, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@MrDadosz
Copy link

MrDadosz commented Dec 6, 2019

Describe the bug
When you hold LMB on CEGUI button and get cursor (from inventory script etc.), you can click RMB to trigger that button even if it's now hidden or disabled. Watch my video to understand it.

To reproduce
https://youtu.be/qKl7lDGSS3s
cegui_bug.zip

Expected behaviour
CEGUI should update when you change it visibility or enabled/disabled state

Version
v1.5.7-release-20348

** Additional informations **
You have to destroy GUI after leaving marker or manually check with script but it should work without manual checks.

	if not guiGetVisible(gui.button) or not guiGetEnabled(gui.button) then
		return
	end
@MrDadosz MrDadosz added the bug Something isn't working label Dec 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant