+ {#each Object.entries($liveMetadata.cursorPositions) as [userId, cursor], index (userId)}
+ {@const foregroundApp = $liveMetadata.foregroundApps.get(userId)}
+ {@const popoverId = `scene-user-${index}`}
{#if cursor}
+ {@const renderedX = selectedUserId === userId ? selectedUserX : cursor.mapped.x}
{/if}
{/each}
diff --git a/src/routes/scene/scene-user-popover-content.svelte b/src/routes/scene/scene-user-popover-content.svelte
new file mode 100644
index 0000000..08cb0e2
--- /dev/null
+++ b/src/routes/scene/scene-user-popover-content.svelte
@@ -0,0 +1,64 @@
+
+
+
+
+
+
+
+ Currently enjoying
+
+ {#if foregroundApp?.ico}
+

+ {/if}
+
+
+ {foregroundApp?.local ??
+ foregroundApp?.unlocal ??
+ "Waiting for data"}
+
+ {#if foregroundApp?.local && foregroundApp.unlocal}
+
+ {foregroundApp.unlocal}
+
+ {/if}
+
+
+
+
+