gazebo
gazebo copied to clipboard
chore: Tidy up virtual renderers
Description
This PR tidy's up the virtual renderers by extracting some of their more specific logic out into their own hooks so that they can be shared between the two components rather than having it be duplicated.
Notable Changes
- Create
useDisablePointerEvents
,useLeftScrollSync
,useSyncScrollMargin
, anduseSyncWrapperWidth
hooks - Update virtual renderers to use the new hooks