Fix personal video call preview and layout - #17
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: cd31c98a9f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| localVideoWrap.animate().cancel(); | ||
| localVideoWrap.animate() | ||
| .scaleX(.97f) | ||
| .scaleY(.97f) |
There was a problem hiding this comment.
Preserve preview alpha when switching cameras
If the user taps the switch-camera button during the 220 ms preview appearance animation, this cancellation freezes localVideoWrap at its current alpha, while the replacement animation changes only its scale. Because localPreviewVisible is already true, subsequent state updates return without restoring the alpha, leaving the local preview partially or almost fully transparent until it is hidden and shown again.
Useful? React with 👍 / 👎.
What changed
Validation
git diff --check