Revision: 3650 http://skim-app.svn.sourceforge.net/skim-app/?rev=3650&view=rev Author: hofman Date: 2008-04-06 05:16:37 -0700 (Sun, 06 Apr 2008)
Log Message: ----------- Revert last commit, as PDFView apparently already has this implemented on Intel. Modified Paths: -------------- trunk/SKPDFView.m Modified: trunk/SKPDFView.m =================================================================== --- trunk/SKPDFView.m 2008-04-06 11:22:35 UTC (rev 3649) +++ trunk/SKPDFView.m 2008-04-06 12:16:37 UTC (rev 3650) @@ -1350,12 +1350,6 @@ [self setScaleFactor:[self scaleFactor] + 0.5 * dy]; } -- (void)magnifyWithEvent:(NSEvent *)theEvent { - float dz = [theEvent deltaZ]; - dz = dz > 0 ? fminf(0.2, dz) : fmaxf(-0.2, dz); - [self setScaleFactor:[self scaleFactor] + 0.5 * dz]; -} - - (void)mouseEntered:(NSEvent *)theEvent { NSTrackingRectTag trackingNumber = [theEvent trackingNumber]; [super mouseEntered:theEvent]; 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 the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Skim-app-commit mailing list Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit