From 04c813f9efd9a72e77796e70d6e5ad2228add567 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Sat, 19 May 2007 19:26:05 +0000 Subject: [PATCH] make sure the badge changes for different drags --- macosx/DragOverlayView.m | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/macosx/DragOverlayView.m b/macosx/DragOverlayView.m index f84ae3614..4f5dae5e1 100644 --- a/macosx/DragOverlayView.m +++ b/macosx/DragOverlayView.m @@ -51,11 +51,12 @@ [bp appendBezierPathWithArcFromPoint: NSMakePoint(maxX, minY) toPoint: NSMakePoint(maxX, midY) radius: radius]; [bp closePath]; - [NSBezierPath setDefaultLineWidth: 20.0]; [[NSColor colorWithCalibratedWhite: 0.0 alpha: 0.75] set]; [bp fill]; - /*[[NSColor whiteColor] set]; + /* + [NSBezierPath setDefaultLineWidth: 5.0]; + [[NSColor whiteColor] set]; [bp stroke]; [NSBezierPath strokeLineFromPoint: NSMakePoint(minX, minY + radius) toPoint: NSMakePoint(minX, maxY - radius)];*/ @@ -153,6 +154,8 @@ [subLine drawInRect: lineRect withAttributes: fSubLineAttributes]; [fBadge unlockFocus]; + + [self setNeedsDisplay: YES]; } -(void) drawRect: (NSRect) rect