Skip to content
This repository has been archived by the owner on Aug 1, 2019. It is now read-only.

Commit

Permalink
[#60] Fix stacked bubble drawRect issue
Browse files Browse the repository at this point in the history
Update gitignore

[#60] Fix stacked bubble drawRect issue
  • Loading branch information
Aaron Tainter committed Oct 23, 2016
1 parent 4cbad00 commit 7d3a925
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
@@ -1,3 +1,5 @@
.DS_Store

## Build generated
build/
DerivedData/
Expand Down
2 changes: 1 addition & 1 deletion nMessenger/Source/MessageNodes/Bubbles/StackedBubble.swift
Expand Up @@ -64,7 +64,7 @@ open class StackedBubble: Bubble {
path.addLine(to: CGPoint(x: rect.maxX + radius2, y: rect.minY - radius2))
path.addLine(to: CGPoint(x: rect.maxX + radius2, y: rect.maxY + radius2))
path.addArc(center: CGPoint(x: rect.minX, y: rect.maxY), radius: radius2, startAngle: CGFloat(M_PI_2), endAngle: CGFloat(M_PI), clockwise: false)
path.addArc(center: CGPoint(x: rect.minX, y: rect.minY), radius: radius2, startAngle: CGFloat(M_PI_2), endAngle: CGFloat(-M_PI_2), clockwise: false)
path.addArc(center: CGPoint(x: rect.minX, y: rect.minY), radius: radius2, startAngle: CGFloat(M_PI), endAngle: CGFloat(-M_PI_2), clockwise: false)

//CGPathMoveToPoint(path, nil, rect.minX, rect.minY - radius2)
//CGPathAddLineToPoint(path, nil, rect.maxX + radius2, rect.minY - radius2)
Expand Down

0 comments on commit 7d3a925

Please sign in to comment.