kGalleryCloseFadeShrinkScale top-level constant

double const kGalleryCloseFadeShrinkScale

Close-transition shrink factor when the resolved destination rect is off-screen. The snapshot fades + scales down in place to this fraction of its source size — a translate-to-off-screen morph would look like a fast disappearing zoom. Banlu-specific UX choice; Telegram uses an explicit forceAway:true flag for the equivalent "no morph, just dismiss" path (ChatImageGalleryItem.swift:1494).

Implementation

const double kGalleryCloseFadeShrinkScale = 0.85;