add comments, format, lint fix

This commit is contained in:
Samuel Newman
2026-04-20 12:35:41 +03:00
parent aac48ff3d5
commit 59a01c599b
4 changed files with 12 additions and 5 deletions
@@ -22,6 +22,10 @@ class ExpoBlueskyContextMenuView: ExpoView, UIContextMenuInteractionDelegate {
self.addInteraction(interaction)
}
// RN layout can leave bounds at fractional-pixel values. The targeted preview
// snapshots this view's bounds for its return animation, and subpixel mismatches
// cause a visible glitch when the preview shrinks back into the thumbnail.
// Snapping to whole-pixel values prevents that.
override var bounds: CGRect {
get {
let b = super.bounds