Fix bounds issue

This commit is contained in:
Steve Ruiz 2021-10-28 22:31:29 +01:00
parent 419302e673
commit e3ec44c011
2 changed files with 2 additions and 2 deletions

View file

@ -23,7 +23,7 @@ const isHideBoundsShapeSelector = (s: Data) => {
const { selectedIds } = s.document.pageStates[s.appState.currentPageId]
return (
selectedIds.length === 1 &&
selectedIds.every((id) => !TLDR.getShapeUtils(shapes[id].type).hideBounds)
selectedIds.every((id) => TLDR.getShapeUtils(shapes[id].type).hideBounds)
)
}

View file

@ -34,7 +34,7 @@ export class ArrowUtil extends TLDrawShapeUtil<T, E> {
canStyleFill = false
showBounds = false
hideBounds = true
pathCache = new WeakMap<T, string>()