Skip to content

Commit 15103d6

Browse files
committed
fix derp
1 parent 3a580fa commit 15103d6

File tree

1 file changed

+1
-1
lines changed
  • lib/src/nativescript-ngx-shadow/common

1 file changed

+1
-1
lines changed

lib/src/nativescript-ngx-shadow/common/shadow.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ export class Shadow {
194194
data.shadowRadius ?
195195
parseFloat(String(data.shadowRadius)) :
196196
0.66 * elevation - 0.5;
197-
nativeView.layer.shouldRasterize = true;
197+
nativeView.layer.shouldRasterize = data.rasterize;
198198
nativeView.layer.rasterizationScale = screen.mainScreen.scale;
199199
let shadowPath = null;
200200
if(data.useShadowPath) {

0 commit comments

Comments
 (0)