Revision: 29152
http://sourceforge.net/p/bibdesk/svn/29152
Author: hofman
Date: 2025-04-21 09:01:09 +0000 (Mon, 21 Apr 2025)
Log Message:
-----------
Don't observe bounds changes of superview or self, we should not recalculate
the grid when scrolling
Modified Paths:
--------------
trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m
Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m 2025-04-20
16:26:58 UTC (rev 29151)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m 2025-04-21
09:01:09 UTC (rev 29152)
@@ -1080,7 +1080,6 @@
}
[[NSNotificationCenter defaultCenter] removeObserver:self
name:NSViewFrameDidChangeNotification object:nil];
- [[NSNotificationCenter defaultCenter] removeObserver:self
name:NSViewBoundsDidChangeNotification object:nil];
}
- (void)viewDidMoveToSuperview {
@@ -1091,7 +1090,6 @@
// this can be send in a dealloc when the view hierarchy is decomposed
if (superview) {
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(_handleSuperviewDidResize:)
name:NSViewFrameDidChangeNotification object:observedView];
- [[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(_handleSuperviewDidResize:)
name:NSViewBoundsDidChangeNotification object:observedView];
[self _recalculateGridSize];
[[self window] invalidateCursorRectsForView:self];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit