Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

NIDrawRectBlock: Transparent background

Changed background color of NIDrawRectBlockView to clear
  • Loading branch information...
commit 9ee688cfc65be502acc656a59570bffeaa6f4716 1 parent 71f4a98
@Shukuyen authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 src/models/src/NICellCatalog.m
View
8 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);
Please sign in to comment.
Something went wrong with that request. Please try again.