We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a580fa commit 15103d6Copy full SHA for 15103d6
lib/src/nativescript-ngx-shadow/common/shadow.ts
@@ -194,7 +194,7 @@ export class Shadow {
194
data.shadowRadius ?
195
parseFloat(String(data.shadowRadius)) :
196
0.66 * elevation - 0.5;
197
- nativeView.layer.shouldRasterize = true;
+ nativeView.layer.shouldRasterize = data.rasterize;
198
nativeView.layer.rasterizationScale = screen.mainScreen.scale;
199
let shadowPath = null;
200
if(data.useShadowPath) {
0 commit comments