From f0c254262afb1400780fd2c847636da748bd9e24 Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Tue, 22 Oct 2024 13:51:41 +0100 Subject: [PATCH] Fix isZoomOut --- packages/block-editor/src/store/private-selectors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-editor/src/store/private-selectors.js b/packages/block-editor/src/store/private-selectors.js index 5643af96ba59ad..525aca4c236cbc 100644 --- a/packages/block-editor/src/store/private-selectors.js +++ b/packages/block-editor/src/store/private-selectors.js @@ -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; } /**