Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a refresh function to TutorialCoachMark and add unFocusAnimationDuration to TargetFocus #115

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

LouShi
Copy link

@LouShi LouShi commented Apr 21, 2022

Add a refresh function to TutorialCoachMark

This can be called to update the position and size of the current target.
It can be called after the orientation changed
#66

Add unFocusAnimationDuration to TargetFocus

Customize unFocusAnimationDuration for each target.

@@ -18,6 +18,7 @@ class TargetFocus {
this.alignSkip,
this.paddingFocus,
this.focusAnimationDuration,
this.unFocusAnimationDuration,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its already in the newest version 1.2.2

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In 1.2.2, the unFocusAnimationDuration is only in TutorialCoachMark. I add it to the TargetFocus, so that the unFocusAnimationDuration can be adjust in each TargetFocus.

ReuelJosafa added a commit to ReuelJosafa/tutorial_coach_mark that referenced this pull request Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants