Revision: 3176
          http://skim-app.svn.sourceforge.net/skim-app/?rev=3176&view=rev
Author:   hofman
Date:     2007-11-07 07:59:17 -0800 (Wed, 07 Nov 2007)

Log Message:
-----------
Add clip instead of set clip.

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

Modified: trunk/SKFindTableView.m
===================================================================
--- trunk/SKFindTableView.m     2007-11-07 15:19:14 UTC (rev 3175)
+++ trunk/SKFindTableView.m     2007-11-07 15:59:17 UTC (rev 3176)
@@ -164,7 +164,7 @@
 // see <http://toxicsoftware.com/discrete-nslevelindicatorcell-too-slow/>
 - (void)replacementDrawWithFrame:(NSRect)cellFrame inView:(NSView 
*)controlView {
     [NSGraphicsContext saveGraphicsState];
-    NSRectClip(cellFrame);
+    [[NSBezierPath bezierPathWithRect:cellFrame] addClip];
     originalDrawWithFrameInView(self, _cmd, cellFrame, controlView);
     [NSGraphicsContext restoreGraphicsState];
 }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to