Revision: 12933 http://sourceforge.net/p/skim-app/code/12933 Author: hofman Date: 2022-06-21 14:16:09 +0000 (Tue, 21 Jun 2022) Log Message: ----------- Don't use atomic accessor, and use ivar directly for syncDot; self should be captured and retained, not the syncDot ivar.
Modified Paths: -------------- trunk/SKPDFView.m Modified: trunk/SKPDFView.m =================================================================== --- trunk/SKPDFView.m 2022-06-21 09:30:23 UTC (rev 12932) +++ trunk/SKPDFView.m 2022-06-21 14:16:09 UTC (rev 12933) @@ -2990,9 +2990,9 @@ [syncDot invalidate]; [self setSyncDot:[[[SKSyncDot alloc] initWithPoint:point page:page updateHandler:^(BOOL finished){ - [self setNeedsDisplayInRect:[[self syncDot] bounds] ofPage:[[self syncDot] page]]; + [self setNeedsDisplayInRect:[syncDot bounds] ofPage:[syncDot page]]; if (finished) { - if ([[self syncDot] shouldHideReadingBar] && [self hasReadingBar]) + if ([syncDot shouldHideReadingBar] && [self hasReadingBar]) [self toggleReadingBar]; [self setSyncDot:nil]; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Skim-app-commit mailing list Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit