From 8fa8c388d95bae8d6e0138f58a9217c9193f52ab Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Thu, 4 Sep 2025 17:54:39 +0200 Subject: [PATCH] fixed shared piano --- index.html | 1 + src/shapes/SharedPianoShapeUtil.tsx | 26 ++++++++++++++++++-------- src/shapes/VideoChatShapeUtil.tsx | 6 +++--- worker/shapes/SharedPianoShapeUtil.ts | 11 +++++++---- 4 files changed, 29 insertions(+), 15 deletions(-) diff --git a/index.html b/index.html index a3ec45f..c82e56d 100644 --- a/index.html +++ b/index.html @@ -5,6 +5,7 @@ Jeff Emmett + { const handleIframeError = useCallback(() => { setIsLoading(false) - setError("Failed to load Shared Piano") + setError("Failed to load Shared Piano. Please check your browser permissions for MIDI and audio access.") }, []) const handleToggleMinimize = (e: React.MouseEvent) => { @@ -74,9 +74,10 @@ export class SharedPianoShape extends BaseBoxShapeUtil { position: "absolute", top: 8, right: 8, - zIndex: 1000, + zIndex: 10, display: "flex", gap: 4, + pointerEvents: "auto", }} >