From 6599e89ac4a5402fc77c3ddea9398a88334f9594 Mon Sep 17 00:00:00 2001 From: mohamed yahia Date: Thu, 23 Jan 2025 15:41:24 +0200 Subject: [PATCH] Switch bottom left radius with bottom right radius (#6379) * Switch bottom left radius with bottom right radius * Update tests --- packages/core/src/style_manager/model/PropertyFactory.ts | 8 ++++---- .../test/specs/style_manager/model/PropertyFactory.ts | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/core/src/style_manager/model/PropertyFactory.ts b/packages/core/src/style_manager/model/PropertyFactory.ts index 828c5320fb..d2ebde5fc6 100644 --- a/packages/core/src/style_manager/model/PropertyFactory.ts +++ b/packages/core/src/style_manager/model/PropertyFactory.ts @@ -342,14 +342,14 @@ export default class PropertyFactory { extend: 'border-top-right-radius', id: 'border-top-right-radius-sub', }, - { - extend: 'border-bottom-right-radius', - id: 'border-bottom-right-radius-sub', - }, { extend: 'border-bottom-left-radius', id: 'border-bottom-left-radius-sub', }, + { + extend: 'border-bottom-right-radius', + id: 'border-bottom-right-radius-sub', + }, ]), }, 'margin', diff --git a/packages/core/test/specs/style_manager/model/PropertyFactory.ts b/packages/core/test/specs/style_manager/model/PropertyFactory.ts index a5f88c1081..90cb67752f 100644 --- a/packages/core/test/specs/style_manager/model/PropertyFactory.ts +++ b/packages/core/test/specs/style_manager/model/PropertyFactory.ts @@ -485,16 +485,16 @@ describe('PropertyFactory', () => { default: '0', }, { - property: 'border-bottom-right-radius', - id: 'border-bottom-right-radius-sub', + property: 'border-bottom-left-radius', + id: 'border-bottom-left-radius-sub', type: 'number', units: obj.unitsSize, min: 0, default: '0', }, { - property: 'border-bottom-left-radius', - id: 'border-bottom-left-radius-sub', + property: 'border-bottom-right-radius', + id: 'border-bottom-right-radius-sub', type: 'number', units: obj.unitsSize, min: 0,