Skip to content

feat(Region): expose resized side on update end#4212

Merged
katspaugh merged 1 commit intokatspaugh:mainfrom
ricky-c-2001:expose-side-on-update-end
Oct 1, 2025
Merged

feat(Region): expose resized side on update end#4212
katspaugh merged 1 commit intokatspaugh:mainfrom
ricky-c-2001:expose-side-on-update-end

Conversation

@ricky-c-2001
Copy link
Contributor

Short description

Exposes the side that is resized in the update-end event.

My use case is that I want to play the surrounding audio when a side is resized.

Implementation details

I've added side to the update-end event.

So you can get the side like this:

regions.on('region-updated', (region, side) => {
  console.log('Updated region', region)
  console.log(side)
})

How to test it

You can try it with yarn start and listen on update-end

Screenshots

Screen.Recording.2025-10-01.at.15.57.28-720p.mp4

Checklist

  • This PR is covered by e2e tests
  • It introduces no breaking API changes

Copy link
Owner

@katspaugh katspaugh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@katspaugh katspaugh merged commit 3a45155 into katspaugh:main Oct 1, 2025
5 checks passed
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.

2 participants