Revision: 16690
          http://sourceforge.net/p/skim-app/code/16690
Author:   hofman
Date:     2026-10-22 09:09:23 +0000 (Thu, 22 Oct 2026)
Log Message:
-----------
use isEqual: to compare tracking area, it can bbe nil

Modified Paths:
--------------
    trunk/SKMainWindowController_FullScreen.m

Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m   2026-10-21 21:05:50 UTC (rev 
16689)
+++ trunk/SKMainWindowController_FullScreen.m   2026-10-22 09:09:23 UTC (rev 
16690)
@@ -809,7 +809,7 @@
 }
 
 - (void)mouseEntered:(NSEvent *)event {
-    if ([event trackingArea] == [presentationNotesAuxiliary trackingArea]) {
+    if ([[event trackingArea] isEqual:[presentationNotesAuxiliary 
trackingArea]]) {
         NSView *notesView = [self presentationNotesView];
         NSButton *button = [presentationNotesAuxiliary button];
         SKTimerView *timerView = [presentationNotesAuxiliary timerView];
@@ -872,7 +872,7 @@
 }
 
 - (void)mouseExited:(NSEvent *)event {
-    if ([event trackingArea] == [presentationNotesAuxiliary trackingArea] && 
[presentationNotesAuxiliary button]) {
+    if ([[event trackingArea] isEqual:[presentationNotesAuxiliary 
trackingArea]] && [presentationNotesAuxiliary button]) {
         BOOL shouldRemoveTimer = [[presentationNotesAuxiliary timerView] 
isActive] == NO;
         [NSAnimationContext runAnimationGroup:^(NSAnimationContext *context){
             [[[presentationNotesAuxiliary button] animator] setAlphaValue: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
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to