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 48c31de commit bb92c9a
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 bb92c9a

Please sign in to comment.