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: Dock overlays to tracked devices. #26

Open
galister opened this issue Apr 7, 2024 · 0 comments
Open

Feat: Dock overlays to tracked devices. #26

galister opened this issue Apr 7, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@galister
Copy link
Owner

galister commented Apr 7, 2024

We need to come up with an intuitive way to set the parent device a given overlay.

Sticking overlays to devices is already handled in auto_movement.

All we need to do is set the OverlayState's spawn_point, spawn_rotation and relative_to.

Active overlays are stored in OverlayContainer, which is normally only accessible from the backend's main loop. However, overlay states can be manipulated from anywhere where AppState is available, by app.tasks.enqueue'ing a TaskType::Overlay. Example here.

@galister galister added the enhancement New feature or request label Apr 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant