Dynamic offset calculation so that step text appears always same location #2271
Unanswered
Featherless-Biped
asked this question in
Q&A
Replies: 1 comment 2 replies
-
@Featherless-Biped I am not sure I understand the use case. From your video, it seems like you want every step to be attached to the image in the top left. For that, you wouldn't need any offset or custom placement. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I created a function that calculates the offset between the targeted element (step) and another element that I will call fixed. in order to ensure that the tour text appears at the same fixed position on the screen, regardless of the element it's attached to, as the screen size may vary.
This is the code I am using:
for some reason, the text keeps appearing in different positions (that are slightly different from one another), the function is working and the offset is being updated.
Amazon.com._.shoes.for.boys.-.Google.Chrome.2023-03-11.16-17-39.mp4
Beta Was this translation helpful? Give feedback.
All reactions