Skip to content

Commit

Permalink
Fix isZoomOut
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Oct 22, 2024
1 parent 5ee78c5 commit f0c2542
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-editor/src/store/private-selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ export function getSectionRootClientId( state ) {
* @return {boolean} Whether the editor is zoomed.
*/
export function isZoomOut( state ) {
return state.zoomLevel < 100;
return state.zoomLevel === 'auto-scaled' || state.zoomLevel < 100;
}

/**
Expand Down

0 comments on commit f0c2542

Please sign in to comment.