Skip to content

feat: inherit container interaction states to descendants#237

Merged
han4wluc merged 4 commits intomainfrom
container-inherit-events
Mar 31, 2026
Merged

feat: inherit container interaction states to descendants#237
han4wluc merged 4 commits intomainfrom
container-inherit-events

Conversation

@han4wluc
Copy link
Copy Markdown
Contributor

@han4wluc han4wluc commented Mar 30, 2026

Summary

  • add opt-in container hover, click, and right-click inheritance via hover.inheritToChildren, click.inheritToChildren, and rightClick.inheritToChildren
  • propagate inherited hover visuals to sprite, text, and slider descendants and inherited pressed/right-pressed visuals to sprite and text descendants without firing child payloads or sounds
  • use real container entry/exit detection for inherited hover and add unit, parser, and VT coverage for nested inheritance, update-while-active, empty-area pressing, and slider hover visuals
  • bump package version to 1.2.0

Verification

  • bun run build
  • bun run test -- --pool=threads --maxWorkers=1 --no-file-parallelism
  • rtgl vt report --item containerevent/event-hover-inherit.yaml --item containerevent/event-hover-inherit-slider.yaml --item containerevent/event-click-inherit.yaml --item containerevent/event-rightclick-inherit.yaml

@han4wluc han4wluc changed the title feat: inherit container hover to descendants feat: inherit container hover and click to descendants Mar 31, 2026
@han4wluc han4wluc changed the title feat: inherit container hover and click to descendants feat: inherit container interaction states to descendants Mar 31, 2026
@han4wluc han4wluc merged commit 25c585a into main Mar 31, 2026
1 of 2 checks passed
@han4wluc han4wluc deleted the container-inherit-events branch March 31, 2026 02:33
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