Skip to content

Commit e6ff0fe

Browse files
committed
Re-add removing is-zoomed-out
1 parent 3ed2a33 commit e6ff0fe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/block-editor/src/components/iframe/use-scale-canvas.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,10 @@ export function useScaleCanvas( {
409409
}
410410
}
411411
}
412+
413+
return () => {
414+
iframeDocument.documentElement.classList.remove( 'is-zoomed-out' );
415+
};
412416
}, [
413417
startZoomOutAnimation,
414418
finishZoomOutAnimation,

0 commit comments

Comments
 (0)