Revision: 29125 http://sourceforge.net/p/bibdesk/svn/29125 Author: hofman Date: 2025-04-17 15:23:29 +0000 (Thu, 17 Apr 2025) Log Message: ----------- Use correct key
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-17 15:21:52 UTC (rev 29124) +++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m 2025-04-17 15:23:29 UTC (rev 29125) @@ -1289,7 +1289,7 @@ _numberOfColumns = 1; _numberOfRows = [self numberOfIcons]; - [self willChangeValueForKey:@"iconSize"]; + [self willChangeValueForKey:@"iconScale"]; // if we have an auto-hiding vertical scroller, we may or may not have scroll bars, which affects the effective width if (autoHidesScrollers && [scrollView hasVerticalScroller]) { @@ -1317,8 +1317,8 @@ } - [self didChangeValueForKey:@"iconSize"]; - + [self didChangeValueForKey:@"iconScale"]; + CGLayerRelease(_selectionOverlay); _selectionOverlay = NULL; @@ -1327,8 +1327,8 @@ _numberOfColumns = [self numberOfIcons]; _numberOfRows = 1; - [self willChangeValueForKey:@"iconSize"]; - + [self willChangeValueForKey:@"iconScale"]; + // if we have an auto-hiding horizontal scroller, we may or may not have scroll bars, which affects the effective height if (autoHidesScrollers && [scrollView hasHorizontalScroller]) { CGFloat minHeight = ceil( DEFAULT_PADDING.height + MIN_AUTO_ICON_SCALE * DEFAULT_ICON_SIZE.height + DEFAULT_MARGIN.height ); @@ -1355,7 +1355,7 @@ } - [self didChangeValueForKey:@"iconSize"]; + [self didChangeValueForKey:@"iconScale"]; CGLayerRelease(_selectionOverlay); _selectionOverlay = NULL; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Bibdesk-commit mailing list Bibdesk-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-commit