Skip to content

Commit d688d20

Browse files
committed
Fix objects becoming unclickable after search highlight
1 parent 6b27624 commit d688d20

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Source/Components/CanvasSearchHighlight.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ class CanvasSearchHighlight final : public Component
2121
, targetObj(obj)
2222
, parentCnv(cnv)
2323
{
24+
setInterceptsMouseClicks(false, false);
25+
2426
cnv->addAndMakeVisible(this);
2527
setBounds(targetObj->getBounds());
2628
updater.addAnimator(fade);

0 commit comments

Comments
 (0)