From a4d55fac575fb520f545d5aa86ff924db3df4f7a Mon Sep 17 00:00:00 2001 From: ShimaginAndrey Date: Wed, 21 Apr 2021 16:54:12 +0300 Subject: [PATCH] Fix Bug 49412 --- apps/documenteditor/mobile/src/view/edit/EditShape.jsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/apps/documenteditor/mobile/src/view/edit/EditShape.jsx b/apps/documenteditor/mobile/src/view/edit/EditShape.jsx index bbea37e37..f52bb9424 100644 --- a/apps/documenteditor/mobile/src/view/edit/EditShape.jsx +++ b/apps/documenteditor/mobile/src/view/edit/EditShape.jsx @@ -402,6 +402,9 @@ const EditShape = props => { const { t } = useTranslation(); const _t = t('Edit', {returnObjects: true}); const canFill = props.storeFocusObjects.shapeObject.get_ShapeProperties().get_CanFill(); + const storeShapeSettings = props.storeShapeSettings; + const shapeObject = props.storeFocusObjects.shapeObject; + const wrapType = storeShapeSettings.getWrapType(shapeObject); return ( @@ -427,7 +430,7 @@ const EditShape = props => { - @@ -438,7 +441,7 @@ const EditShape = props => { ) }; -const EditShapeContainer = inject("storeFocusObjects")(observer(EditShape)); +const EditShapeContainer = inject("storeFocusObjects","storeShapeSettings")(observer(EditShape)); const PageShapeStyle = inject("storeFocusObjects", "storeShapeSettings")(observer(PageStyle)); const PageShapeStyleNoFill = inject("storeFocusObjects", "storeShapeSettings")(observer(PageStyleNoFill)); const PageShapeCustomFillColor = inject("storeFocusObjects", "storeShapeSettings", "storePalette")(observer(PageCustomFillColor));