EFPrefix / EFQRCode

A better way to operate QR Code in Swift, support iOS, macOS, watchOS and tvOS.
https://efprefix.github.io/EFQRCode
MIT License
4.57k stars 481 forks source link

Ignoring 'isTimingPointStyled' param for "circle" pointStyle #136

Closed ArtRoman closed 2 years ago

ArtRoman commented 2 years ago

Issue Description

Description

Source comment says:

isTimingPointStyled: Wether the timing points should be styled (or remain square).

But when I set isTimingPointStyled to false I see that eyes are still rounded when pointStyle is circle. All is OK for other types of pointStyle.

Reproduce

EFQRCode.generate(
    for: "My text",
    size: EFIntSize(width: 200, height: 200),
    icon: UIImage(named: "AppIcon")?.cgImage,
    pointStyle: .circle,
    isTimingPointStyled: false
)