Skip to content

Commit

Permalink
Move clipping region to the container, see #170
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed May 18, 2023
1 parent 12b8b4e commit c25d613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/common/view/CAVAccordionBox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ export default class CAVAccordionBox extends AccordionBox {

public static createBackgroundNode( shape: Shape ): Node {
return new Node( {
clipArea: shape,
children: [

// A sub-node so it can be non-pickable (so that click events can still reach the accordion box title bar)
new Path( shape, {
clipArea: shape,
pickable: false
} )
]
Expand Down

0 comments on commit c25d613

Please sign in to comment.