From 9a71ac5e272ad47ef30aa3d81db282bcfac2917e Mon Sep 17 00:00:00 2001 From: Marin Atanasov <8436925+tyxla@users.noreply.github.com> Date: Thu, 22 Aug 2024 16:18:05 +0300 Subject: [PATCH] Update FocalPointPicker border-radius --- .../src/focal-point-picker/styles/focal-point-style.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/components/src/focal-point-picker/styles/focal-point-style.ts b/packages/components/src/focal-point-picker/styles/focal-point-style.ts index 6f95978256f72e..ad1e8eeb286779 100644 --- a/packages/components/src/focal-point-picker/styles/focal-point-style.ts +++ b/packages/components/src/focal-point-picker/styles/focal-point-style.ts @@ -3,6 +3,11 @@ */ import styled from '@emotion/styled'; +/** + * Internal dependencies + */ +import { CONFIG } from '../../utils'; + export const PointerCircle = styled.div` background-color: transparent; cursor: grab; @@ -15,7 +20,7 @@ export const PointerCircle = styled.div` z-index: 10000; background: rgba( 255, 255, 255, 0.4 ); border: 1px solid rgba( 255, 255, 255, 0.4 ); - border-radius: 50%; + border-radius: ${ CONFIG.radiusRound }; backdrop-filter: blur( 16px ) saturate( 180% ); box-shadow: rgb( 0 0 0 / 10% ) 0px 0px 8px;