FXPageControl icon indicating copy to clipboard operation
FXPageControl copied to clipboard

Context needs to be cleared when drawing - Swift

Open asmusto opened this issue 10 years ago • 0 comments

Hi, thanks for this source code. But I had an issue when using this in swift and the dots are using images. After debugging it, I found that it needs to clear the context before drawing (in line 121). (It doesn't matter whether I checked clear graphics context in interface builder or not).

    CGContextClearRect(context, rect);

asmusto avatar Apr 11 '15 06:04 asmusto