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

Fix issue manual capture and image select buttons disappearing on load #147

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

dantasswift
Copy link

Because updateViewController() is being called before the previewLayer is added to the view, we get an issue where the manual capture buttons disappear on load.

To fix it, we only bring the buttons to the front of the view after the previewLayer is added. Note that we only bring the buttons to front, the visibility of the buttons themselves are still begin handled in showManualCaptureButton() and showManualSelectButton() respectively.

@dantasswift dantasswift changed the title Fix issue capture and select buttons disappearing on load Fix issue manual capture and select buttons disappearing on load Jun 12, 2024
@dantasswift dantasswift changed the title Fix issue manual capture and select buttons disappearing on load Fix issue manual capture and image select buttons disappearing on load Jun 12, 2024
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