From e0ba031a6f0df7e9d93ec9fa9d64d0fa76f38ca6 Mon Sep 17 00:00:00 2001 From: npub14ndfusear8wdpe4kss8h7juc7wjk78atnqzf63zvppcpneknv4sq6x9370 Date: Tue, 4 Aug 2026 15:28:37 -0700 Subject: [PATCH] fix(desktop): satisfy markdown size ratchet Co-authored-by: npub14ndfusear8wdpe4kss8h7juc7wjk78atnqzf63zvppcpneknv4sq6x9370 Signed-off-by: npub14ndfusear8wdpe4kss8h7juc7wjk78atnqzf63zvppcpneknv4sq6x9370 --- desktop/src/shared/ui/markdown.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/desktop/src/shared/ui/markdown.tsx b/desktop/src/shared/ui/markdown.tsx index f650006536..a2fb0e42d6 100644 --- a/desktop/src/shared/ui/markdown.tsx +++ b/desktop/src/shared/ui/markdown.tsx @@ -661,16 +661,10 @@ function ImageZoomOverlay({ const frameCornerRadii = isReturning ? returnCornerRadii : imageLightboxExpandedCornerRadii(); - // Once fully settled at 1x, drop the transform to `none` so the wrapper - // leaves the GPU-composited path and the repaints through WebKit's - // high-quality paint rasterizer — matching inline-image sharpness. An - // identity `translate3d` would keep it composited, so it must be `none`. const atRest = isOpen && hasEntered && zoom === IMAGE_LIGHTBOX_MIN_ZOOM && - // Holds composited through the trackpad gesture-end idle window: after a - // pinch settles back to exactly 1x, `isAdjustingZoom` stays true for // IMAGE_LIGHTBOX_TRACKPAD_ZOOM_IDLE_MS, avoiding a demote/re-promote thrash. !isAdjustingZoom; const transform = atRest