mirror of
https://github.com/webadderallorg/Recordly.git
synced 2026-09-26 07:45:34 +00:00
fix(zoom): hide focus overlay for auto zoom regions
Auto zoom regions use cursor follow, so the blue draggable focus boundary is hidden and pointer events disabled.
This commit is contained in:
@@ -13,7 +13,7 @@ interface OverlayUpdateParams {
|
||||
export function updateOverlayIndicator(params: OverlayUpdateParams) {
|
||||
const { overlayEl, indicatorEl, region, focusOverride, baseMask, isPlaying } = params;
|
||||
|
||||
if (!region) {
|
||||
if (!region || region.mode === 'auto') {
|
||||
indicatorEl.style.display = 'none';
|
||||
overlayEl.style.pointerEvents = 'none';
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user