Revision: 12739 http://sourceforge.net/p/skim-app/code/12739 Author: hofman Date: 2022-01-24 10:29:16 +0000 (Mon, 24 Jan 2022) Log Message: ----------- reset note row heights once after changing hidden of table column, as another column may change width
Modified Paths: -------------- trunk/SKMainWindowController_UI.m trunk/SKNotesDocument.m Modified: trunk/SKMainWindowController_UI.m =================================================================== --- trunk/SKMainWindowController_UI.m 2022-01-23 23:58:49 UTC (rev 12738) +++ trunk/SKMainWindowController_UI.m 2022-01-24 10:29:16 UTC (rev 12739) @@ -871,7 +871,7 @@ if ([tc isHidden] == NO) outlineIndentation = [tc width] - NSWidth([ov frameOfCellAtColumn:[[ov tableColumns] indexOfObject:tc] row:0]); } - [self resetNoteRowHeights]; + [self performSelectorOnce:@selector(resetNoteRowHeights) afterDelay:0.0]; } } Modified: trunk/SKNotesDocument.m =================================================================== --- trunk/SKNotesDocument.m 2022-01-23 23:58:49 UTC (rev 12738) +++ trunk/SKNotesDocument.m 2022-01-24 10:29:16 UTC (rev 12739) @@ -798,7 +798,7 @@ if ([tc isHidden] == NO) outlineIndentation = [tc width] - NSWidth([ov frameOfCellAtColumn:[[ov tableColumns] indexOfObject:tc] row:0]); } - [self resetRowHeights]; + [self performSelectorOnce:@selector(resetRowHeights) afterDelay:0.0]; } } 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