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

Fixed click region for buttonwidget #408

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

blootsvoets
Copy link
Contributor

Click region for the button widget was only the content. Since the whole button widget area responds to mouseover, this is a bit counterintuitive, so I made the whole button widget area respond to clicks.

@damylen
Copy link
Member

damylen commented Jun 1, 2016

Thnx! Have you checked this with a clickable legends inside the button and with the edit button active for dynamic layers?

@blootsvoets
Copy link
Contributor Author

Ah die clicks worden dan inderdaad niet meer herkend... Ik zal kijken of ik een andere oplossing kan bedenken.

@blootsvoets
Copy link
Contributor Author

Moved the click handling back to content, and adjusted the height and padding of the content so that it fills the entire div. I had to override the ng-binding and s3d classes padding for this, so it's using !important.

@blootsvoets
Copy link
Contributor Author

@damylen do you think the pull request is acceptable now?

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

Successfully merging this pull request may close these issues.

2 participants