File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 45
45
46
46
@property (nonatomic , assign ) id <ReorderTableViewDelegate> delegate;
47
47
@property (nonatomic , assign ) CGFloat draggingRowHeight;
48
+ @property (nonatomic , assign ) CGFloat draggingViewOpacity;
48
49
@property (nonatomic , assign ) BOOL canReorder;
49
50
50
51
@end
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ @implementation BVReorderTableView
54
54
@synthesize draggingView;
55
55
@synthesize savedObject;
56
56
@synthesize draggingRowHeight;
57
+ @synthesize draggingViewOpacity;
57
58
@synthesize initialIndexPath;
58
59
59
60
- (id )init {
@@ -86,6 +87,7 @@ - (void)initialize {
86
87
[self addGestureRecognizer: longPress];
87
88
88
89
self.canReorder = YES ;
90
+ self.draggingViewOpacity = 1.0 ;
89
91
}
90
92
91
93
@@ -145,7 +147,7 @@ - (void)longPress:(UILongPressGestureRecognizer *)gesture {
145
147
draggingView.layer .shadowOffset = CGSizeMake (0 , 0 );
146
148
draggingView.layer .shadowRadius = 4.0 ;
147
149
draggingView.layer .shadowOpacity = 0.7 ;
148
- // draggingView.layer.opacity = 0.8 ;
150
+ draggingView.layer .opacity = self. draggingViewOpacity ;
149
151
150
152
// zoom image towards user
151
153
[UIView beginAnimations: @" zoom" context: nil ];
You can’t perform that action at this time.
0 commit comments