Revision: 15694
          http://sourceforge.net/p/skim-app/code/15694
Author:   hofman
Date:     2025-10-09 15:34:18 +0000 (Thu, 09 Oct 2025)
Log Message:
-----------
override designated initializer

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

Modified: trunk/SKImageToolTipWindow.m
===================================================================
--- trunk/SKImageToolTipWindow.m        2025-10-09 15:29:21 UTC (rev 15693)
+++ trunk/SKImageToolTipWindow.m        2025-10-09 15:34:18 UTC (rev 15694)
@@ -68,9 +68,9 @@
     return sharedToolTipWindow;
 }
 
-- (instancetype)init {
+- (instancetype)initWithContentRect:(NSRect)contentRect {
     if (sharedToolTipWindow) NSLog(@"Attempt to allocate second instance of 
%@", self);
-    self = [self initWithContentRect:NSZeroRect];
+    self = [super initWithContentRect:contentRect];
     if (self) {
         [self setHidesOnDeactivate:NO];
         [self setIgnoresMouseEvents: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

Reply via email to