@tobyt/expo-pdf-markup 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @tobyt/expo-pdf-markup
2
2
 
3
+ ## 0.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Fix gap at top of first page on iOS by changing pageBreakMargins to apply all margin to the bottom
8
+
3
9
  ## 0.2.1
4
10
 
5
11
  ### Patch Changes
@@ -30,7 +30,7 @@ class ExpoPdfMarkupView: ExpoView, UIGestureRecognizerDelegate {
30
30
  pdfView.autoScales = true
31
31
  pdfView.displayMode = .singlePageContinuous
32
32
  pdfView.displayDirection = .vertical
33
- pdfView.pageBreakMargins = UIEdgeInsets(top: 4, left: 0, bottom: 4, right: 0)
33
+ pdfView.pageBreakMargins = UIEdgeInsets(top: 0, left: 0, bottom: 8, right: 0)
34
34
  pdfView.backgroundColor = UIColor(white: 0.92, alpha: 1)
35
35
 
36
36
  addSubview(pdfView)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tobyt/expo-pdf-markup",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "An Expo module for displaying and annotating PDFs",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",