Fix bounds issue

pull/213/head
Steve Ruiz 2021-10-28 22:31:29 +01:00
rodzic 419302e673
commit e3ec44c011
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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)
)
}

Wyświetl plik

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