mirror of
https://github.com/webadderallorg/Recordly.git
synced 2026-09-25 15:25:44 +00:00
fix(video-editor): wrap blur case in block for lexical scope
This commit is contained in:
@@ -113,7 +113,7 @@ export function AnnotationOverlay({
|
||||
</div>
|
||||
);
|
||||
|
||||
case "blur":
|
||||
case "blur": {
|
||||
const previewScaleFactor = containerWidth / BASE_PREVIEW_WIDTH;
|
||||
const blurPx = BLUR_ANNOTATION_STRENGTH * previewScaleFactor;
|
||||
const blurStyle = `blur(${blurPx}px)`;
|
||||
@@ -128,6 +128,7 @@ export function AnnotationOverlay({
|
||||
}}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
default:
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user