Skip to content

Commit

Permalink
add group class
Browse files Browse the repository at this point in the history
  • Loading branch information
sprocketc committed May 24, 2023
1 parent 57d6b1a commit 49b418e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tldraw/apps/tldraw-logseq/src/lib/shapes/GroupShape.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ export class GroupShape extends TLGroupShape<GroupShapeProps> {
const Indicator = this.ReactIndicator

return (
<SVGContainer {...events}>
<SVGContainer {...events} className="tl-group-container">
<rect
className={'tl-hitarea-fill'}
x={strokeWidth / 2}
y={strokeWidth / 2}
width={Math.max(0.01, bounds.width - strokeWidth)}
height={Math.max(0.01, bounds.height - strokeWidth)}
width={Math.max(0.01, bounds?.width - strokeWidth)}
height={Math.max(0.01, bounds?.height - strokeWidth)}
pointerEvents="all"
/>
{childSelected && (
Expand Down

0 comments on commit 49b418e

Please sign in to comment.