Skip to content

Commit

Permalink
Fixed one more issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
edragoev1 committed Apr 15, 2023
1 parent 069d5fe commit 1ceca41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/paragraph.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ func (paragraph *Paragraph) GetY1() float32 {
}

func (paragraph *Paragraph) GetX2() float32 {
return paragraph.x1
return paragraph.x2
}

func (paragraph *Paragraph) GetY2() float32 {
return paragraph.y1
return paragraph.y2
}

// Add is used to add new text lines to the paragraph.
Expand Down

0 comments on commit 1ceca41

Please sign in to comment.