Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix (#1304)

Oscar Beaumontc07e33ee361a
diff --git a/apps/desktop/src/routes/target-select-overlay.tsx b/apps/desktop/src/routes/target-select-overlay.tsx
index 07be96bb5..aa788f081 100644
--- a/apps/desktop/src/routes/target-select-overlay.tsx
+++ b/apps/desktop/src/routes/target-select-overlay.tsx
@@ -998,11 +998,11 @@ function RecordingControls(props: {
</div>
<button
onClick={() => props.setToggleModeSelect?.(true)}
- class="cursor-pointer flex gap-1 items-center mb-5 transition-all duration-200"
+ class="cursor-pointer flex gap-1 items-center mb-5 transition-all duration-200 relative z-20"
classList={{
"bg-black/40 p-2 rounded-lg backdrop-blur-sm border border-white/10 hover:bg-black/50 hover:opacity-80":
props.showBackground,
- "hover:opacity-60": props.showBackground,
+ "hover:opacity-60": !props.showBackground,
}}
>
<IconCapInfo class="opacity-70 will-change-transform size-3" />