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

Weird Behaviour with Overlapping Text and Cloze Mask #3593

Open
brishtibheja opened this issue Nov 23, 2024 · 1 comment
Open

Weird Behaviour with Overlapping Text and Cloze Mask #3593

brishtibheja opened this issue Nov 23, 2024 · 1 comment

Comments

@brishtibheja
Copy link
Contributor

Steps

  1. Load an image for IO.
  2. Create a rectangle mask.
  3. Now create a text mask using the tool.
  4. Put the rectangle above the text.

Behaviour

The rectangle always go below the text. In review, these cards' cloze mask appear hidden by the text above it.

This seem to happen because the rectangle is created in step#2 before the text is created. If I switch the order of events, now I can't put the text above the cloze mask i.e. the cloze always go below the text.

Also noticed, editing these cards during review can reverse the behaviour.

@abdnh
Copy link
Collaborator

abdnh commented Nov 24, 2024

That's because z-index of masks is not remembered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants