Fix bounds issue
This commit is contained in:
parent
419302e673
commit
e3ec44c011
2 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ const isHideBoundsShapeSelector = (s: Data) => {
|
||||||
const { selectedIds } = s.document.pageStates[s.appState.currentPageId]
|
const { selectedIds } = s.document.pageStates[s.appState.currentPageId]
|
||||||
return (
|
return (
|
||||||
selectedIds.length === 1 &&
|
selectedIds.length === 1 &&
|
||||||
selectedIds.every((id) => !TLDR.getShapeUtils(shapes[id].type).hideBounds)
|
selectedIds.every((id) => TLDR.getShapeUtils(shapes[id].type).hideBounds)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@ export class ArrowUtil extends TLDrawShapeUtil<T, E> {
|
||||||
|
|
||||||
canStyleFill = false
|
canStyleFill = false
|
||||||
|
|
||||||
showBounds = false
|
hideBounds = true
|
||||||
|
|
||||||
pathCache = new WeakMap<T, string>()
|
pathCache = new WeakMap<T, string>()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue