Skip to content

Commit

Permalink
Docs: fix mis-leading the alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
skydoves committed Nov 2, 2024
1 parent 78f63be commit 3e317eb
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 3e317eb

Please sign in to comment.