Skip to content

Commit

Permalink
reset visible tooltip list before setting new one
Browse files Browse the repository at this point in the history
  • Loading branch information
pseudoankit committed Dec 2, 2023
1 parent 95f3222 commit f97fa19
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ internal class CoachMarkScopeImpl(

private var _visibleTooltips = listOf<TooltipConfig>()
set(value) {
// resetting all values before setting new ones
field = listOf()
_visibleTooltipIndex = 0
updateVisibleItem(value, _visibleTooltipIndex)
field = value
Expand Down

0 comments on commit f97fa19

Please sign in to comment.