From dcfc6254088665ff2f9e76d01dd7cb2d112937c0 Mon Sep 17 00:00:00 2001 From: SergeyEzhin Date: Thu, 27 May 2021 14:46:53 +0300 Subject: [PATCH] [PE mobile] Corrected navbars in EditShape --- .../mobile/src/view/edit/EditShape.jsx | 79 +++++++++++++++++-- 1 file changed, 71 insertions(+), 8 deletions(-) diff --git a/apps/presentationeditor/mobile/src/view/edit/EditShape.jsx b/apps/presentationeditor/mobile/src/view/edit/EditShape.jsx index 5f93af329..4a05bdfae 100644 --- a/apps/presentationeditor/mobile/src/view/edit/EditShape.jsx +++ b/apps/presentationeditor/mobile/src/view/edit/EditShape.jsx @@ -124,6 +124,13 @@ const PageStyle = props => { {_t.textBorder} {_t.textEffects} + {Device.phone && + + + + + + } @@ -176,7 +183,7 @@ const PageStyle = props => { const PageCustomFillColor = props => { const { t } = useTranslation(); - const _t = t('Edit', {returnObjects: true}); + const _t = t('View.Edit', {returnObjects: true}); let fillColor = props.storeShapeSettings.fillColor; if (typeof fillColor === 'object') { @@ -192,7 +199,15 @@ const PageCustomFillColor = props => { return( - + + {Device.phone && + + + + + + } + ) @@ -232,7 +247,15 @@ const PageStyleNoFill = props => { return ( - + + {Device.phone && + + + + + + } +
{_t.textSize}
@@ -275,7 +298,15 @@ const PageReplace = props => { return ( - + + {Device.phone && + + + + + + } + {shapes.map((row, indexRow) => { return (
    @@ -307,7 +338,15 @@ const PageReorder = props => { return ( - + + {Device.phone && + + + + + + } + {props.onReorder('all-up')}} className='no-indicator'> @@ -338,7 +377,15 @@ const PageAlign = props => { return ( - + + {Device.phone && + + + + + + } + {props.onAlign('align-left')}} className='no-indicator'> @@ -394,7 +441,15 @@ const PageBorderColor = props => { }; return ( - + + {Device.phone && + + + + + + } + { }; return ( - + + {Device.phone && + + + + + + } + )