mirror of
https://github.com/webadderallorg/Recordly.git
synced 2026-10-04 03:27:56 +00:00
13 lines
376 B
TypeScript
13 lines
376 B
TypeScript
export function canShowFloatingWebcamPreview(
|
|
requested: boolean,
|
|
hudOverlayMousePassthroughSupported: boolean | null,
|
|
): boolean {
|
|
return requested && hudOverlayMousePassthroughSupported === true;
|
|
}
|
|
|
|
export function canToggleFloatingWebcamPreview(
|
|
hudOverlayMousePassthroughSupported: boolean | null,
|
|
): boolean {
|
|
return hudOverlayMousePassthroughSupported !== false;
|
|
}
|