mirror of
https://github.com/webadderallorg/Recordly.git
synced 2026-11-09 07:23:14 +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;
|
|
}
|