Skip to content

Roku App Overlays: customizable X/Y translation per overlay#819

Open
kanhaiyaXITE wants to merge 1 commit into
rokucommunity:masterfrom
kanhaiyaXITE:feat/overlay-custom-translation
Open

Roku App Overlays: customizable X/Y translation per overlay#819
kanhaiyaXITE wants to merge 1 commit into
rokucommunity:masterfrom
kanhaiyaXITE:feat/overlay-custom-translation

Conversation

@kanhaiyaXITE

Copy link
Copy Markdown
Contributor

Overlays were always deployed at position [0, 0] with no way to reposition them. Add per-overlay X and Y pixel inputs so users can place overlays anywhere on screen.

  • Add translation to the OverlayInfo type (persisted via workspace state)
  • Default to [0, 0] on deploy so existing overlays keep working
  • Apply changes live to the device via odc.setValue on .translation, mirroring the existing opacity/visible handling

Overlays were always deployed at position [0, 0] with no way to
reposition them. Add per-overlay X and Y pixel inputs so users can
place overlays anywhere on screen.

- Add `translation` to the OverlayInfo type (persisted via workspace state)
- Default to [0, 0] on deploy so existing overlays keep working
- Apply changes live to the device via odc.setValue on `.translation`,
  mirroring the existing opacity/visible handling

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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