-
Notifications
You must be signed in to change notification settings - Fork 81
lib - simulator - slight improvements to drop down settings menu #487
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
Conversation
| right: 0; | ||
| background-color: #f1f1f1; | ||
| min-width: 160px; | ||
| min-width: 250px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needed for longer Hide ignored event buttons label
| .dropbtn:hover, .dropbtn:focus { | ||
| .dropdown-button:hover, .dropdown-button:focus { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
using full english words so that it is hopefully easier for non-english speaking contributors to translate
| <span id='dropdown-button' class='titlebar-icon dropdown-button'>settings</span> | ||
| <div id='myDropdown' class='dropdown-content'> | ||
| <label class='dropdown-item' for='hideIrrelevantEvents' | ||
| title='When enabled, event dispatching buttons will be hidden if the current active state(s) ignore the event.'> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added title tooltip
| <div id='myDropdown' class='dropdown-content'> | ||
| <label class='dropdown-item' for='hideIrrelevantEvents' | ||
| title='When enabled, event dispatching buttons will be hidden if the current active state(s) ignore the event.'> | ||
| <input type='checkbox' id='hideIrrelevantEvents' name='hideIrrelevantEvents'> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moved checkbox inside of label so that clickable area is larger and matches css hover highlighting
Some small quality of life improvements and tidy.
Before:

After:
