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

Round corner #18

Open
gelarr opened this issue Apr 12, 2019 · 1 comment
Open

Round corner #18

gelarr opened this issue Apr 12, 2019 · 1 comment

Comments

@gelarr
Copy link

gelarr commented Apr 12, 2019

Is it possible to round the view corner? I tried with :

showcase.layer.cornerRadius = 5

but it doesn't work

Screen Shot 2019-04-12 at 10 45 47

@scihant
Copy link
Owner

scihant commented Apr 12, 2019

The highlight isn't a view. It's created using custom drawing so you can't change anything by modifying any view properties. The only way to do that right now is to modify the contents of the draw(on::) method in the highlighter you use (e.g. CTStaticGlowHighlighter).

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

No branches or pull requests

2 participants