Revision: 9420
http://sourceforge.net/p/skim-app/code/9420
Author: hofman
Date: 2017-05-16 20:59:31 +0000 (Tue, 16 May 2017)
Log Message:
-----------
no need to cancel requests that are not used anymore
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2017-05-16 17:15:09 UTC (rev 9419)
+++ trunk/SKMainWindowController.m 2017-05-16 20:59:31 UTC (rev 9420)
@@ -2613,17 +2613,12 @@
}
- (void)updateThumbnailAtPageIndex:(NSUInteger)anIndex {
- SKThumbnail *tn = [self objectInThumbnailsAtIndex:anIndex];
- [[self class] cancelPreviousPerformRequestsWithTarget:self
selector:@selector(makeImageForThumbnail:) object:tn];
- [tn setDirty:YES];
+ [[self objectInThumbnailsAtIndex:anIndex] setDirty:YES];
[leftSideController.thumbnailTableView reloadData];
}
- (void)allThumbnailsNeedUpdate {
- for (SKThumbnail *tn in thumbnails) {
- [[self class] cancelPreviousPerformRequestsWithTarget:self
selector:@selector(makeImageForThumbnail:) object:tn];
- [tn setDirty:YES];
- }
+ [thumbnails setValue:[NSNumber numberWithBool:YES] forKey:@"dirty"];
[leftSideController.thumbnailTableView reloadData];
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit