We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25d7a79 commit 290e444Copy full SHA for 290e444
VirtualView/View/VVGridView.m
@@ -444,7 +444,7 @@ - (void)setDataObj:(NSObject*)obj forKey:(int)key{
444
445
- (void)setUpdateDelegate:(id<VVWidgetAction>)delegate{
446
if (self.drawLayer==nil) {
447
- self.drawLayer = [CALayer layer];
+ self.drawLayer = [VVLayer layer];
448
self.drawLayer.drawsAsynchronously = YES;
449
self.drawLayer.contentsScale = [[UIScreen mainScreen] scale];
450
self.drawLayer.delegate = (id<CALayerDelegate>)self;
0 commit comments