Permalink
Browse files

NIDrawRectBlock: Transparent background

Changed background color of NIDrawRectBlockView to clear
  • Loading branch information...
1 parent 71f4a98 commit 9ee688cfc65be502acc656a59570bffeaa6f4716 @Shukuyen committed Dec 8, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 src/models/src/NICellCatalog.m
@@ -195,6 +195,14 @@ @implementation NIDrawRectBlockView
///////////////////////////////////////////////////////////////////////////////////////////////////
+- (id)initWithFrame:(CGRect)frame {
+ if ((self = [super initWithFrame:frame])) {
+ self.backgroundColor = [UIColor clearColor];
+ }
+ return self;
+}
+
+///////////////////////////////////////////////////////////////////////////////////////////////////
- (void)drawRect:(CGRect)rect {
if (nil != self.block) {
self.block(rect, self.object, self.cell);

0 comments on commit 9ee688c

Please sign in to comment.