Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.
TypeScript cross-platformelectronffmpegopen-sourceproduct-demorustscreen-capturescreen-recorderscreen-recordingscreen-studioscreencastspeech-to-texttypescriptvideo-editingvideo-editorwaylandwgpuwhisper
fix: increase rounding snap tolerance to 4px to prevent background line bleed when padding is 0
aaravshirpurkar8c7ea939ab71
diff --git a/src/lib/compositeLayout.ts b/src/lib/compositeLayout.tsindex 839a7e0d7..abb6b0f7b 100644--- a/src/lib/compositeLayout.ts+++ b/src/lib/compositeLayout.ts@@ -408,8 +408,8 @@ function centerRectInBounds(params: { bounds: RenderRect; size: Size; maxSize: Sif (maxWidth >= boundsWidth &&maxHeight >= boundsHeight &&- Math.abs(boundsWidth - resolvedWidth) <= 1 &&- Math.abs(boundsHeight - resolvedHeight) <= 1+ Math.abs(boundsWidth - resolvedWidth) <= 4 &&+ Math.abs(boundsHeight - resolvedHeight) <= 4) {return {x: boundsX,