Revision: 12932 http://sourceforge.net/p/skim-app/code/12932 Author: hofman Date: 2022-06-21 09:30:23 +0000 (Tue, 21 Jun 2022) Log Message: ----------- use property accessors for syncDot to make sure only self is retained
Modified Paths: -------------- trunk/SKPDFView.m Modified: trunk/SKPDFView.m =================================================================== --- trunk/SKPDFView.m 2022-06-20 17:16:59 UTC (rev 12931) +++ trunk/SKPDFView.m 2022-06-21 09:30:23 UTC (rev 12932) @@ -2990,9 +2990,9 @@ [syncDot invalidate]; [self setSyncDot:[[[SKSyncDot alloc] initWithPoint:point page:page updateHandler:^(BOOL finished){ - [self setNeedsDisplayInRect:[syncDot bounds] ofPage:[syncDot page]]; + [self setNeedsDisplayInRect:[[self syncDot] bounds] ofPage:[[self syncDot] page]]; if (finished) { - if ([syncDot shouldHideReadingBar] && [self hasReadingBar]) + if ([[self 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