Skip to content

Commit d332b04

Browse files
committed
Revert the settings button change
1 parent a971b45 commit d332b04

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/editor-toolbar/index.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import {
1414
Popover,
1515
Toolbar,
1616
ToolbarGroup,
17+
ToolbarButton,
1718
} from '@wordpress/components';
1819
import { __ } from '@wordpress/i18n';
1920
import { close, cog, plus } from '@wordpress/icons';
@@ -112,11 +113,10 @@ const EditorToolbar = ( { className } ) => {
112113

113114
{ isSelected && (
114115
<ToolbarGroup>
115-
<Button
116+
<ToolbarButton
116117
title={ __( 'Block Settings' ) }
117118
icon={ cog }
118-
onTouchEnd={ openSettings }
119-
onMouseDown={ openSettings }
119+
onClick={ openSettings }
120120
/>
121121
</ToolbarGroup>
122122
) }

0 commit comments

Comments
 (0)