diff --git a/Classes/Popover.swift b/Classes/Popover.swift index 6618bf4..2a6aa60 100644 --- a/Classes/Popover.swift +++ b/Classes/Popover.swift @@ -623,11 +623,11 @@ private extension Popover { } var isCornerLeftArrow: Bool { - return self.arrowShowPoint.x == self.frame.origin.x + return self.arrowShowPoint.x <= self.frame.origin.x + arrowSize.width + cornerRadius } var isCornerRightArrow: Bool { - return self.arrowShowPoint.x == self.frame.origin.x + self.bounds.width + return self.arrowShowPoint.x >= (self.frame.origin.x + self.bounds.width) - arrowSize.width - cornerRadius } func radians(_ degrees: CGFloat) -> CGFloat {