Revision: 3183 http://skim-app.svn.sourceforge.net/skim-app/?rev=3183&view=rev Author: hofman Date: 2007-11-09 07:55:19 -0800 (Fri, 09 Nov 2007)
Log Message: ----------- Don't set anchored note size to size of selection when adding from context menu. Modified Paths: -------------- trunk/SKPDFView.m Modified: trunk/SKPDFView.m =================================================================== --- trunk/SKPDFView.m 2007-11-09 14:52:41 UTC (rev 3182) +++ trunk/SKPDFView.m 2007-11-09 15:55:19 UTC (rev 3183) @@ -1694,6 +1694,8 @@ bounds = [selection boundsForPage:page]; if (annotationType == SKCircleNote || annotationType == SKSquareNote) bounds = NSInsetRect(bounds, -5.0, -5.0); + else if (annotationType == SKAnchoredNote) + bounds.size = ANCHORED_NOTE_SIZE; } else { float defaultWidth = [[NSUserDefaults standardUserDefaults] floatForKey:SKDefaultNoteWidthKey]; float defaultHeight = [[NSUserDefaults standardUserDefaults] floatForKey:SKDefaultNoteHeightKey]; 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 Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit