Revision: 14082
http://sourceforge.net/p/skim-app/code/14082
Author: hofman
Date: 2024-03-01 00:30:29 +0000 (Fri, 01 Mar 2024)
Log Message:
-----------
reset highlightLevel in prepareForReuse
Modified Paths:
--------------
trunk/SKControlTableCellView.m
trunk/SKHighlightingTableRowView.m
Modified: trunk/SKControlTableCellView.m
===================================================================
--- trunk/SKControlTableCellView.m 2024-03-01 00:21:25 UTC (rev 14081)
+++ trunk/SKControlTableCellView.m 2024-03-01 00:30:29 UTC (rev 14082)
@@ -42,10 +42,6 @@
@synthesize control;
-- (void)dealloc {
- control = nil;
-}
-
- (void)setBackgroundStyle:(NSBackgroundStyle)backgroundStyle {
[super setBackgroundStyle:backgroundStyle];
[[[self control] cell] setBackgroundStyle:backgroundStyle];
Modified: trunk/SKHighlightingTableRowView.m
===================================================================
--- trunk/SKHighlightingTableRowView.m 2024-03-01 00:21:25 UTC (rev 14081)
+++ trunk/SKHighlightingTableRowView.m 2024-03-01 00:30:29 UTC (rev 14082)
@@ -155,4 +155,9 @@
[super drawBackgroundInRect:dirtyRect];
}
+- (void)prepareForReuse {
+ [super prepareForReuse];
+ [self setHighlightLevel:0];
+}
+
@end
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit