1
0
mirror of https://github.com/lint/PhotoCtrl synced 2025-07-06 20:26:48 +00:00

Update Tweak.xm

This commit is contained in:
lint
2019-09-20 19:30:14 -04:00
committed by GitHub
parent 4298d22e15
commit 748d4280ad

View File

@ -154,10 +154,10 @@
} else {
//PUPhotosGridCell* firstSelectedCell = [self cellForItemAtIndexPath:[gvController ctrlFirstIndexPath]];
PUPhotosGridCell* firstSelectedCell = [self cellForItemAtIndexPath:[gvController ctrlFirstIndexPath]];
//[firstSelectedCell.ctrlSelectOverlayView removeFromSuperview];
//firstSelectedCell.ctrlSelectOverlayView = nil;
[firstSelectedCell.ctrlSelectOverlayView removeFromSuperview];
firstSelectedCell.ctrlSelectOverlayView = nil;
NSRange indexRange;
NSInteger firstRow = [gvController ctrlFirstIndexPath].row;
@ -250,6 +250,7 @@
NSIndexPath* thisIndexPath = arg2;
HBLogDebug(@"firstIndexPath: %ld-%ld thisIndexPath: %ld-%ld", (long)firstIndexPath.section, (long)firstIndexPath.row, (long)thisIndexPath.section, (long)thisIndexPath.row);
if ( firstIndexPath.section == thisIndexPath.section && firstIndexPath.row == thisIndexPath.row){
[orig ctrlSelectOverlayView].image = [UIImage imageWithContentsOfFile:@"/var/mobile/Library/Application Support/PhotoCtrl/check.png"];