@shopify/react-native-skia 1.5.2 → 1.5.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -54,7 +54,7 @@ public:
54
54
  _layer.framebufferOnly = NO;
55
55
  _layer.device = MTLCreateSystemDefaultDevice();
56
56
  _layer.opaque = false;
57
- _layer.contentsScale = 3;
57
+ _layer.contentsScale = [UIScreen mainScreen].scale;
58
58
  _layer.pixelFormat = MTLPixelFormatBGRA8Unorm;
59
59
  _layer.contentsGravity = kCAGravityBottomLeft;
60
60
  _layer.drawableSize = CGSizeMake(width, height);
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "setup-skia-web": "./scripts/setup-canvaskit.js"
8
8
  },
9
9
  "title": "React Native Skia",
10
- "version": "1.5.2",
10
+ "version": "1.5.3",
11
11
  "description": "High-performance React Native Graphics using Skia",
12
12
  "main": "lib/module/index.js",
13
13
  "react-native": "src/index.ts",