diff --git a/Cocoa/GBImageView.m b/Cocoa/GBImageView.m index 406a0ec..a9b88b6 100644 --- a/Cocoa/GBImageView.m +++ b/Cocoa/GBImageView.m @@ -90,9 +90,9 @@ return self; } -- (void)setImage:(NSImage *)image +-(void)viewWillDraw { - [super setImage:image]; + [super viewWillDraw]; for (CALayer *layer in self.layer.sublayers) { layer.magnificationFilter = kCAFilterNearest; }