FXPageControl
FXPageControl copied to clipboard
Context needs to be cleared when drawing - Swift
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);