DLRadioButton icon indicating copy to clipboard operation
DLRadioButton copied to clipboard

Context stack bug.

Open BarakRL opened this issue 6 years ago • 3 comments
trafficstars

in DLRadioButton drawIconWithSelection: UIGraphicsPopContext(); should be called after: UIGraphicsEndImageContext(); not before.

BarakRL avatar Jan 14 '19 10:01 BarakRL

@BarakRL thx for submitting the bug. Do you know what's the actual impact of this bug?

DavydLiu avatar Feb 15 '19 19:02 DavydLiu

It will corrupt the graphic context stack for the entire app. For example: if you try to create a new graphics context, draw to it and get the image, it will fail and return nil.

BarakRL avatar Feb 15 '19 22:02 BarakRL

Faced the same issue

anton-plebanovich avatar Mar 23 '20 08:03 anton-plebanovich