From fa1ee071c6be5ce604dd4726ecd66b304bb0912b Mon Sep 17 00:00:00 2001 From: mohamedsalem401 Date: Wed, 22 Jan 2025 06:19:44 +0200 Subject: [PATCH 1/2] Switch bottom left radius with bottom right radius --- packages/core/src/style_manager/model/PropertyFactory.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 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', From 939169c1ce6c57fc121066a4d29cb4f0df022093 Mon Sep 17 00:00:00 2001 From: mohamedsalem401 Date: Wed, 22 Jan 2025 06:29:03 +0200 Subject: [PATCH 2/2] Update tests --- .../test/specs/style_manager/model/PropertyFactory.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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,