From e026ddea0b1373e4bd59944819c438e8c5a5e28f Mon Sep 17 00:00:00 2001 From: tellthemachines Date: Fri, 10 May 2024 15:47:20 +1000 Subject: [PATCH] Update comment --- .../src/components/grid-visualizer/grid-item-resizer.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/block-editor/src/components/grid-visualizer/grid-item-resizer.js b/packages/block-editor/src/components/grid-visualizer/grid-item-resizer.js index 5d66b9f9cf9cf3..7d8dd55a5d6fb1 100644 --- a/packages/block-editor/src/components/grid-visualizer/grid-item-resizer.js +++ b/packages/block-editor/src/components/grid-visualizer/grid-item-resizer.js @@ -50,10 +50,9 @@ export function GridItemResizer( { clientId, onChange } ) { ] ); /* - * Resizer dummy is an empty div that exists only so we can - * get the bounding client rect of the resizer element. This is - * necessary because the resizer exists outside of the iframe, so - * its bounding client rect isn't the same as the block element's. + * This ref is necessary get the bounding client rect of the resizer, + * because it exists outside of the iframe, so its bounding client + * rect isn't the same as the block element's. */ const resizerRef = useRef( null );