mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
chore: show bounding box only when flag is true (#6490)
This commit is contained in:
parent
ff3c2e5a16
commit
98a77d7426
1 changed files with 2 additions and 1 deletions
|
@ -864,7 +864,8 @@ const drawElementFromCanvas = (
|
|||
);
|
||||
|
||||
if (
|
||||
process.env.REACT_APP_DEBUG_ENABLE_TEXT_CONTAINER_BOUNDING_BOX &&
|
||||
process.env.REACT_APP_DEBUG_ENABLE_TEXT_CONTAINER_BOUNDING_BOX ===
|
||||
"true" &&
|
||||
hasBoundTextElement(element)
|
||||
) {
|
||||
const coords = getContainerCoords(element);
|
||||
|
|
Loading…
Add table
Reference in a new issue