Revision: 15816
http://sourceforge.net/p/skim-app/code/15816
Author: hofman
Date: 2025-11-18 17:23:45 +0000 (Tue, 18 Nov 2025)
Log Message:
-----------
update accessibility description of thumbnail image when updating label
Modified Paths:
--------------
trunk/SKThumbnail.m
Modified: trunk/SKThumbnail.m
===================================================================
--- trunk/SKThumbnail.m 2025-11-18 17:13:32 UTC (rev 15815)
+++ trunk/SKThumbnail.m 2025-11-18 17:23:45 UTC (rev 15816)
@@ -78,6 +78,13 @@
return [delegate pageForThumbnail:self];
}
+- (void)setLabel:(NSString *)newLabel {
+ if (newLabel != label) {
+ label = newLabel;
+ [image setAccessibilityDescription:[NSString
stringWithFormat:NSLocalizedString(@"Page %@", @""), label]];
+ }
+}
+
- (void)setNeedsUpdate {
[self willChangeValueForKey:@"image"];
needsUpdate = YES;
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