Skip to content

Commit

Permalink
ignore paths that are inactive in solos when calculating hit test
Browse files Browse the repository at this point in the history
we were not skipping collapsed shapes and paths for hit testing, so pointer events were triggering on elements that were inactive.
This PR skips those paths to fix it.
Note: there might be some performance improvements that can be done in the future skipping shapes that are fully hidden, but this PR most likely covers the majority of the usual cases.

Diffs=
2c2d332e0 ignore paths that are inactive in solos when calculating hit test (#6276)
  • Loading branch information
bodymovin committed Nov 23, 2023
1 parent fc49a2d commit d1ad646
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .rive_head
Original file line number Diff line number Diff line change
@@ -1 +1 @@
c37a28468472c8bd33beaa1b31bf190ecaa6ce06
2c2d332e0254b56f5512de65251cbd80b891aa15
2 changes: 1 addition & 1 deletion wasm/submodules/rive-cpp

0 comments on commit d1ad646

Please sign in to comment.