[PE] Fix Bug 53516
This commit is contained in:
parent
d478d44bcd
commit
b1b9057c31
|
@ -85,7 +85,7 @@ const EditText = props => {
|
||||||
{!isAndroid && <Icon slot="media" icon="icon-text-additional"></Icon>}
|
{!isAndroid && <Icon slot="media" icon="icon-text-additional"></Icon>}
|
||||||
</ListItem>
|
</ListItem>
|
||||||
</List>
|
</List>
|
||||||
{paragraphObj ? (
|
{paragraphObj || storeFocusObjects.settings.includes('text') ? (
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<List>
|
<List>
|
||||||
<ListItem className='buttons'>
|
<ListItem className='buttons'>
|
||||||
|
@ -476,7 +476,8 @@ const PageBullets = props => {
|
||||||
const typeBullets = storeTextSettings.typeBullets;
|
const typeBullets = storeTextSettings.typeBullets;
|
||||||
|
|
||||||
const paragraph = props.storeFocusObjects.paragraphObject;
|
const paragraph = props.storeFocusObjects.paragraphObject;
|
||||||
if (!paragraph && Device.phone) {
|
const shapeObj = props.storeFocusObjects.shapeObject;
|
||||||
|
if (!shapeObj && !paragraph && Device.phone) {
|
||||||
$$('.sheet-modal.modal-in').length > 0 && f7.sheet.close();
|
$$('.sheet-modal.modal-in').length > 0 && f7.sheet.close();
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
@ -531,7 +532,8 @@ const PageNumbers = props => {
|
||||||
const typeNumbers = storeTextSettings.typeNumbers;
|
const typeNumbers = storeTextSettings.typeNumbers;
|
||||||
|
|
||||||
const paragraph = props.storeFocusObjects.paragraphObject;
|
const paragraph = props.storeFocusObjects.paragraphObject;
|
||||||
if (!paragraph && Device.phone) {
|
const shapeObj = props.storeFocusObjects.shapeObject;
|
||||||
|
if (!shapeObj && !paragraph && Device.phone) {
|
||||||
$$('.sheet-modal.modal-in').length > 0 && f7.sheet.close();
|
$$('.sheet-modal.modal-in').length > 0 && f7.sheet.close();
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
@ -596,7 +598,8 @@ const PageLineSpacing = props => {
|
||||||
const lineSpacing = storeTextSettings.lineSpacing;
|
const lineSpacing = storeTextSettings.lineSpacing;
|
||||||
|
|
||||||
const paragraph = props.storeFocusObjects.paragraphObject;
|
const paragraph = props.storeFocusObjects.paragraphObject;
|
||||||
if (!paragraph && Device.phone) {
|
const shapeObj = props.storeFocusObjects.shapeObject;
|
||||||
|
if (!shapeObj && !paragraph && Device.phone) {
|
||||||
$$('.sheet-modal.modal-in').length > 0 && f7.sheet.close();
|
$$('.sheet-modal.modal-in').length > 0 && f7.sheet.close();
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue