Skip to content

Commit

Permalink
Merge pull request #746 from skydoves/docs/fix-balloon-anchor
Browse files Browse the repository at this point in the history
Docs: fix mis-leading the alignment
  • Loading branch information
skydoves authored Nov 2, 2024
2 parents 78f63be + 3e317eb commit 3b34d90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,11 +282,11 @@ We can decide the position of the arrow depending on the aligning rules with the
```kotlin
// Align the arrow position depending on an anchor.
// if `arrowPosition` is 0.5, the arrow will be located in the middle of an anchor.
.setArrowPositionRules(ArrowPositionRules.ALIGN_ANCHOR) // default
.setArrowPositionRules(ArrowPositionRules.ALIGN_ANCHOR)

// Align the arrow position depending on the balloon popup body.
// if `arrowPosition` is 0.5, he arrow will be located in the middle of the tooltip.
.setArrowPositionRules(ArrowPositionRules.ALIGN_BALLOON)
.setArrowPositionRules(ArrowPositionRules.ALIGN_BALLOON) // default
```

#### ArrowOrientationRules
Expand Down

0 comments on commit 3b34d90

Please sign in to comment.