Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Revert change of overlay window size

Ilyaffd75696b624
diff --git a/apps/desktop/src/components/windows/Camera.tsx b/apps/desktop/src/components/windows/Camera.tsx
index d877b9de8..65a384f70 100644
--- a/apps/desktop/src/components/windows/Camera.tsx
+++ b/apps/desktop/src/components/windows/Camera.tsx
@@ -78,8 +78,8 @@ export const Camera = () => {
tauriWindowImport.then(
({ currentMonitor, appWindow, LogicalSize, LogicalPosition }) => {
currentMonitor().then((monitor) => {
- const windowWidth = type === "sm" ? 240 : 410;
- const windowHeight = type === "sm" ? 240 : 410;
+ const windowWidth = type === "sm" ? 230 : 400;
+ const windowHeight = type === "sm" ? 230 : 400;
if (monitor && monitor.size) {
const scalingFactor = monitor.scaleFactor;