Skip to content
This repository was archived by the owner on Aug 27, 2022. It is now read-only.

fix: don't access constants before they are defined #387

Merged
merged 1 commit into from
Feb 28, 2022
Merged

fix: don't access constants before they are defined #387

merged 1 commit into from
Feb 28, 2022

Conversation

up-87
Copy link

@up-87 up-87 commented Feb 28, 2022

fixes camera as background

Prerequisites checklist

What is the purpose of this pull request? (put an "x" next to an item)

  • Documentation update
  • Bug fix
  • New feature
  • Other, please explain:

What changes did you make? (Give an overview)

usesBackgroundPreview accessed the constant PreviewMode before it was defined. So if video as background was enabled the whole frontend was unuseable and only the background image showed up.

Is there anything you'd like reviewers to focus on?

@andi34 andi34 merged commit 8c5d9a2 into andi34:dev Feb 28, 2022
@up-87 up-87 deleted the fix/constants branch April 5, 2022 11:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants