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

feat(annotation) added annotation tag type properties and annotation iteration keybinds #650

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

Conversation

chrisj
Copy link
Contributor

@chrisj chrisj commented Oct 1, 2024

Tags properties are currently represented as:

"annotationProperties": [
  {
    "id": "tag0",
    "type": "uint8",
    "tag": "a"
  }
]

Annotation layers now have a tag tab which displays the current tag properties and allows additional ones to be added. A tool is created for each tag which can be bound to a keybind like any other tool. The tools toggle the associated tag's status for the current selected annotation.

This feature also bundles keybinds to iterating through the currently selected layer's annotations. To do this, I added the concept of layer events and sendEventToSelectedLayer.

Screenshot 2024-10-01 at 4 04 45 PM

@chrisj chrisj force-pushed the cj-annotation-tags branch 2 times, most recently from e411813 to 4e5ba2a Compare October 2, 2024 16:13
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.

1 participant