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

Use auxiliary views for the buttons #116

Open
Kentzo opened this issue Nov 25, 2019 · 0 comments
Open

Use auxiliary views for the buttons #116

Kentzo opened this issue Nov 25, 2019 · 0 comments

Comments

@Kentzo
Copy link
Owner

Kentzo commented Nov 25, 2019

Currently the control draws its auxiliary elements in its implementation of drawRect. It also handles dirtying and accessibility. Accessibility in particularly does not work very well in such approach (e.g. a user cannot navigate to these aux elements).

Both clear and delete buttons should be implemented as either custom views or NSImageView's (if it's possible to set up accessibility properly).

If custom subview path is taken, it should implement both -updateLayer and -drawRect:

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

No branches or pull requests

1 participant