madsbangh / EasyButtons

Add buttons to your inspector in Unity super easily with this simple attribute
MIT License
1.08k stars 83 forks source link

Two very minor improvements #10

Closed amyadzuki closed 5 years ago

amyadzuki commented 5 years ago
  1. Replace hard-coded magic values "1" and "2" with their symbolic enum constants. This improves readability and maintainability.
  2. Fix for buttons nested in a read-only (disabled) control section; before, this would remove the read-only protection after the button but with this change the read-only state is preserved (but the button itself is unaffected).
madsbangh commented 5 years ago

Awesome! <3

github-actions[bot] commented 3 years ago

:tada: This PR is included in version 1.2.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: