File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -195,13 +195,10 @@ - (void)clickTapGest{
195195 NSMutableDictionary *tmpDict = self.imgArr [showIndex];
196196 NSString *strRect = [tmpDict objectForKey: @" rect" ];
197197 NSNumber *isEditNum = [tmpDict objectForKey: @" isEdit" ];
198- if (strRect.length ) {
198+ if (( strRect.length )&& (!isEditNum. boolValue ) ) {
199199 CGRect rect = CGRectFromString (strRect);
200200 CGFloat scale = rect.size .width /screenW;
201201 CGFloat tmpY = rect.origin .y - (screenH * scale - rect.size .height )*0.5 ;
202- if (isEditNum.boolValue ) {
203- tmpY += 240 ;
204- }
205202 if ((tmpY > screenH) || (tmpY+rect.size .height <0 )) {
206203 [UIView animateWithDuration: 0.3 animations: ^{
207204 self.alpha = 0 ;
Original file line number Diff line number Diff line change @@ -407,7 +407,6 @@ - (void)clickShowOrigImgView:(NSNotification *)noti{
407407 break ;
408408 }
409409 }
410-
411410 }
412411 if (imgIndex > 0 ) {
413412 UIWindow *win = [UIApplication sharedApplication ].keyWindow ;
You can’t perform that action at this time.
0 commit comments