From 5458362829f9cd9b2dd3e8d29ff2b1615c43180f Mon Sep 17 00:00:00 2001 From: David Sheldrick Date: Mon, 18 Sep 2023 15:36:48 +0100 Subject: [PATCH] Fix video shape controls (#1909) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The video shape was not interactive in it's editing mode, so I just updated it to have `pointer-events: all` when editing. closes #1908 ### Change Type - [x] `patch` — Bug fix - [ ] `minor` — New feature - [ ] `major` — Breaking change - [ ] `dependencies` — Changes to package dependencies[^1] - [ ] `documentation` — Changes to the documentation only[^2] - [ ] `tests` — Changes to any test code only[^2] - [ ] `internal` — Any other changes that don't affect the published package[^2] - [ ] I don't know [^1]: publishes a `patch` release, for devDependencies use `internal` [^2]: will not publish a new version ### Test Plan 1. Add a step-by-step description of how to test your PR here. 2. - [ ] Unit Tests - [ ] End to end tests ### Release Notes - Fixes pointer events for editing video shapes. --- packages/tldraw/src/lib/shapes/video/VideoShapeUtil.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/tldraw/src/lib/shapes/video/VideoShapeUtil.tsx b/packages/tldraw/src/lib/shapes/video/VideoShapeUtil.tsx index 3e33ddf86..f687feda7 100644 --- a/packages/tldraw/src/lib/shapes/video/VideoShapeUtil.tsx +++ b/packages/tldraw/src/lib/shapes/video/VideoShapeUtil.tsx @@ -184,6 +184,7 @@ const TLVideoUtilComponent = track(function TLVideoUtilComponent(props: { {asset?.props.src ? (