Skip to content

Commit

Permalink
Collapse alignment toolbar were is being used. (#21211)
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioEstevao committed Mar 28, 2020
1 parent 37d103b commit 04f4fd1
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion packages/block-library/src/image/edit.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,6 @@ export class ImageEdit extends React.Component {
<BlockAlignmentToolbar
value={ align }
onChange={ this.updateAlignment }
isCollapsed={ false }
/>
</BlockControls>
);
Expand Down
1 change: 0 additions & 1 deletion packages/block-library/src/media-text/edit.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,6 @@ class MediaTextEdit extends Component {
<BlockVerticalAlignmentToolbar
onChange={ onVerticalAlignmentChange }
value={ verticalAlignment }
isCollapsed={ false }
/>
</BlockControls>
<View
Expand Down
1 change: 0 additions & 1 deletion packages/block-library/src/paragraph/edit.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ function ParagraphBlock( {
<>
<BlockControls>
<AlignmentToolbar
isCollapsed={ false }
value={ align }
onChange={ ( nextAlign ) => {
setAttributes( { align: nextAlign } );
Expand Down

0 comments on commit 04f4fd1

Please sign in to comment.