CTShowcase icon indicating copy to clipboard operation
CTShowcase copied to clipboard

Round corner

Open gelarr opened this issue 5 years ago • 1 comments

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

gelarr avatar Apr 12 '19 03:04 gelarr

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).

scihant avatar Apr 12 '19 12:04 scihant