Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DomWalkerObservers know about ElementsToRerenderGLOBAL (#6383)
**Problem:** The dom-walker observers (now used for triggering the dom-sampler) fire for continuous interactions that don't have `editor.canvas.interactionSession`, such as scrubbing in the inspector. **Fix:** The mutation callback now checks if `ElementsToRerenderGLOBAL.current` is in selective mode, and then it will behave similarly to when there is an active interactionSession. **Commit Details:** - Renamed `selectCanvasInteractionHappening ` to `isCanvasInteractionHappening` - `isCanvasInteractionHappening` is aware of ElementsToRerenderGLOBAL.current
- Loading branch information