Revision: 12989
          http://sourceforge.net/p/skim-app/code/12989
Author:   hofman
Date:     2022-07-07 08:49:07 +0000 (Thu, 07 Jul 2022)
Log Message:
-----------
return no accessibility children for borderless window, otherwise they show up 
as children of the app

Modified Paths:
--------------
    trunk/SKAnimatedBorderlessWindow.m
    trunk/SKNavigationWindow.m

Modified: trunk/SKAnimatedBorderlessWindow.m
===================================================================
--- trunk/SKAnimatedBorderlessWindow.m  2022-07-07 08:43:58 UTC (rev 12988)
+++ trunk/SKAnimatedBorderlessWindow.m  2022-07-07 08:49:07 UTC (rev 12989)
@@ -76,8 +76,10 @@
 
 - (BOOL)canBecomeMainWindow { return NO; }
 
-- (BOOL)isccessibilityElement { return NO; }
+- (BOOL)isAccessibilityElement { return NO; }
 
+- (NSArray *)accessibilityChildren { return [NSArray array]; }
+
 - (NSTimeInterval)fadeInDuration { return FADE_IN_DURATION; }
 
 - (NSTimeInterval)fadeOutDuration { return FADE_OUT_DURATION; }

Modified: trunk/SKNavigationWindow.m
===================================================================
--- trunk/SKNavigationWindow.m  2022-07-07 08:43:58 UTC (rev 12988)
+++ trunk/SKNavigationWindow.m  2022-07-07 08:49:07 UTC (rev 12989)
@@ -276,10 +276,6 @@
     SKDESTROY(view);
 }
 
-- (BOOL)isAccessibilityElement {
-    return NO;
-}
-
 @end
 
 #pragma mark -

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

Reply via email to