Revision: 5722
http://skim-app.svn.sourceforge.net/skim-app/?rev=5722&view=rev
Author: hofman
Date: 2009-09-08 23:41:42 +0000 (Tue, 08 Sep 2009)
Log Message:
-----------
simplify check before updating lines
Modified Paths:
--------------
trunk/SKMainWindowController_UI.m
Modified: trunk/SKMainWindowController_UI.m
===================================================================
--- trunk/SKMainWindowController_UI.m 2009-09-08 23:28:49 UTC (rev 5721)
+++ trunk/SKMainWindowController_UI.m 2009-09-08 23:41:42 UTC (rev 5722)
@@ -190,14 +190,11 @@
- (void)updateLineInspector {
PDFAnnotation *annotation = [pdfView activeAnnotation];
- NSString *type = [annotation type];
- if ([[self window] isMainWindow]) {
- if ([annotation isSkimNote] && ([type
isEqualToString:SKNFreeTextString] || [type isEqualToString:SKNCircleString] ||
[type isEqualToString:SKNSquareString] || [type isEqualToString:SKNLineString]
|| [type isEqualToString:SKNInkString])) {
- mwcFlags.updatingLine = 1;
- [[SKLineInspector sharedLineInspector]
setAnnotationStyle:annotation];
- mwcFlags.updatingLine = 0;
- }
+ if ([[self window] isMainWindow] &&[annotation hasBorder]) {
+ mwcFlags.updatingLine = 1;
+ [[SKLineInspector sharedLineInspector] setAnnotationStyle:annotation];
+ mwcFlags.updatingLine = 0;
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit